--- /dev/null
+LibreOffice build system
+------------------------
+
+Building the packages from source
+=================================
+Overview:
+ apt-get source libreoffice
+ apt-get build-dep libreoffice (to install build dependencies)
+ [ somehow broken yet, probably because of the various |'s ]
+ cd <source directory>
+ debuild
+
+Changing the build behaviour with DEB_BUILD_OPTIONS
+---------------------------------------------------
+These options are supported:
+
+ debug - build with FULL debug symbols. Default is just to build
+ with SMALL ones since the deb otherwise gets too big
+ ((>400M, ca. 1GB I-S))
+
+ ccache - enable the use of ccache during the build. This is highly
+ recommended if you plan on building the package more than
+ once, or doing any development on the packages. Be aware
+ that you need EXTRAPACKAGES="ccache" in /etc/pbuilderrc
+ when trying to build libreoffice with ccache in
+ $DEB_BUILD_OPTIONS under pbuilder (this has no effect
+ on speed, hough because the cache does not persist in
+ pbuilder)
+
+ parallel=<n>
+ - enable n projects to be built in parallel.
+ The log output can get a little confusing, and some projects
+ may fail still. You need to remove config.status if you
+ change this value after interrupting a build.
+
+ lang=<code>
+ - Build only the specified language
+
+ nocheck
+ - disable run of tests when enabled in rules
+
+
+The targets that are built during the package build
+---------------------------------------------------
+
+- targets run during the package build -
+
+unpack - Does prerequisites for the build: packing, unpacking etc.
+
+build - as the name says
+
+install - Copy files from debian/tmp/pkg into the correct locations
+ for the final package layout in debian/libreoffice*
+ where we need to do that here because it affects arch-dep
+ and arch-indep stuff and therefore cannot be done in
+ install-arch / install-indep.
+
+install-arch - installs arch-dependent stuff into the arch-dep. packages
+install-indep - " "-independent " " " "-indep. packages
+
+langpackgs - Installs the language packgs
+helppkgs - Installs the help packages
+
+maintscripts - Generates the maintainer scripts
+
+get-orig-source - gets original source tarballs and unpacks them
+ GIT_BASEURL can be set to a local mirror
+ GIT_BRANCH is the branch to clone from the repos
+ GIT_TAG is tag that should be packed
+ GIT_BRANCH and GIT_TAG can both be master
+
+Building the package from git master
+====================================
+To do a build from git master, do:
+ mkdir libreoffice-git
+ cd libreoffice-git
+ git clone git://anonscm.debian.org/pkg-openoffice/libreoffice.git debian
+ ./debian/rules unpack GIT_BRANCH=master GIT_TAG=master SOURCE_TARBALLS=n
+ dpkg-buildpackage
+
+Build system file layout
+========================
+debian/scripts:
+ Directory containing various debian-specific build-related scripts.
--- /dev/null
+ Readme for libreoffice package for Debian
+ --------------------------------------------
+
+Contents
+========
+Introduction
+Quick start
+Printer setup
+ Native CUPS support
+ Non-CUPS systems
+Language support
+ Spellcheck dictionaries, Hyphenation patterns and Thesauri
+ Help packages
+Display and crashing problems
+ X server crashes
+Font problems
+ Why are the menu fonts smaller than in older versions?
+ Changing the default user interface font typeface for non-KDE/Gnome desktops
+Disabling the splash screen
+More information about LibreOffice in Debian
+
+
+Introduction
+============
+Welcome to the LibreOffice packages for the Debian distribution. These
+packages are of the release of LibreOffice with the following
+modifications:
+
+ * Packaged as libreoffice-core (architecture-dependent core files),
+ libreoffice-common (architecture-independent common files),
+ libreoffice-{calc,writer,draw,impress,base} (the LibreOffice modules)
+ libreoffice-l10n-<lang> and libreoffice-help-<lang> and
+ other subpackages (-filters-* for lesser used filters, -gtk/-gnome/-kde,
+ ttf-opensymbol for the OpenSymbol font, ...).
+
+ * Integration with other Debian packages:
+ - Global desktop integration for all users for KDE and Gnome desktops.
+ Menu entries for all window managers that support the Debian 'menu'
+ package.
+
+ * Some extra features not yet present in official releases:
+ - Many of the patches included in the Ximian edition
+
+ * Extra documentation - this README and man pages.
+
+
+Quick start
+===========
+
+To start using LibreOffice, execute the command
+
+ libreoffice
+
+as the user which you wish to start LibreOffice as. This will create the
+necessary user files in ~/.libreoffice/3 for you. Alternatively, you
+can start LibreOffice from the menus, if you have the menu package
+installed/use KDE or GNOME.
+
+Printing
+========
+
+Printing on CUPS systems
+------------------------
+The Debian packages include native CUPS support from version 1.1.1-3. This
+is standard in all OpenOffice.org versions since 2.0.
+When LibreOffice detects a CUPS system, it will download printer settings for
+all CUPS queues, and these can be set from within the printer properties dialog.
+
+If you wish to add additional filters or print commands, you can add them
+using 'spadmin'. Note that the 'Add a printer' option is disabled - you
+should add printers using your favourite CUPS frontend.
+
+When creating a new document, LibreOffice will use the default paper size of
+your default CUPS printer queue. If your new documents have the wrong paper
+size, please check the configuration of your printer.
+
+Non-CUPS systems (lpr, lprng, SAL_DISABLE_CUPS=1)
+---------------------------------
+There is a tool supplied with LibreOffice for setting up printers. You can
+execute this with the command
+
+ /usr/lib/openoffice/program/spadmin
+
+To change the page size and other default settings on non-CUPS systems,
+modify /etc/openoffice/psprint.conf. The settings are documented in there.
+
+Language support
+================
+You can get foreign language support by installing the
+libreoffice-l10n-<lang> package for your language. You will also need the
+'locales' (or belocs-locales-data for some locales, alternatively locales-all
+if you want all locales) package installed.
+The user interface language is selected according to your locale(1) settings.
+
+To change the user interface language for all users, run
+
+ dpkg-reconfigure locales
+
+[ This is not needed when you install locales-all ]
+
+To change the language for just one user, you must arrange for the LC_MESSAGES
+or LANG environment variable to be set. You can list all available locales
+with the command 'locale -a'.
+For example, to run LibreOffice in German from the command line:
+
+ LANG=de_DE libreoffice
+
+Spellcheck dictionaries, Hyphenation patterns and Thesauri
+----------------------------------------------------------
+Currently, there are dictionaries available for Afrikaans, Arabic, Armenian,
+Bulgarian, Catalan, Croatian, Czech, Danish, Dutch, English (AUS/GB/US),
+Esperanto, Estonian, Farsi, Finnish, French, Galician, German (DE/CH/AT),
+Greek, Hebrew, Hungarian, Irish (Gaeilge), Italian, Kurdish, Latvian,
+Lithuanian, Manx Gaelic, Norwegian Bokmal, Norwegian Nynorsk, Polish,
+Portuguese, Portuguese (Brazilian), Russian, Scots Gaelic, Slovak, Slovenian,
+Spanish, Swahili, Swedish, Thai, Ukrainian and Uzbek.
+Dictionaries are packaged as myspell-<lang> (or, for newer ones improved
+for hunspell hunspell-<lang>).
+
+Currently, there are thesauri available for Czech, English (AUS/GB/US),
+German (DE/CH), Italian, Polish and Slovak.
+Thesauri are packaged as mythes-<lang>
+
+Currently, there are hyphenation patterns available for English (USA),
+Croatian, Estonian, German, Hungarian, Italian, Polish, Slovenian and
+Lithuanian.
+Hyphenation patterns are packaged as hyphen-<lang>.
+
+Help packages
+-------------
+Currently, there are localized help packages available for
+Bulgarian, Chinese, Czech, Danish, Dutch, English (GB), English (USA),
+Estonian, French, Galician, German, Hungarian, Italian, Japanese, Khmer,
+Macedonian, Polish, Portuguese (Brazil), Russian, Slovakian, Slovenian and
+Spanish and Swedish.
+They are packaged as libreoffice-help-<lang>.
+
+Problems
+================================
+
+Here are some problems that have been reported with this version. If you do
+not see your problem here, please check for open bug reports:
+
+ http://bugs.debian.org/debian-openoffice@lists.debian.org
+
+1. If you are using NFS mounted file systems, you should make sure that locking
+is functioning:
+
+ 'Make sure NFS lockd/statd is running on the client, or mount the NFS export
+ with the 'nolock' option.
+
+ If /usr gets mounted from an initrd, check 'ps' output once the system is
+ fully booted to ensure that you see a [lockd] kernel process, or an
+ 'rpc.lockd' / 'rpc.statd' userspace process.
+
+ If not, just issue your mount command again (no need to even -o remount it
+ seems!) and run /etc/init.d/nfs-common restart.' (Thanks to Gavin Hamill)
+
+ See this mailing list thread for more information:
+ http://lists.debian.org/debian-openoffice/2004/debian-openoffice-200402/msg00223.html
+
+X server crash with Matrox cards
+--------------------------------
+If your X server is using the mga driver, you may find that your X server
+crashes. You can work around this problem by adding this line to the mga
+Device section:
+
+ Option "XaaNoScreenToScreenColorExpandFill"
+
+There is a bug already open against xserver-xfree86 for this problem. Thanks
+to Philip Armstrong for this information.
+
+LibreOffice crash with nVidia cards
+--------------------------------------
+It seems that LibreOffice can trigger some obscure bugs in the X server
+drivers for Nvidia cards too, especially if you have more than one processor.
+Try updating your drivers to the latest version.
+
+Moreover LibreOffice may hang and takes X with it when RenderAccel
+is enabled when using the proprietary nVidia Drivers. Disabling this option
+helps then.
+
+Font problems
+=============
+
+Why are the menu fonts smaller than in older versions?
+------------------------------------------------------
+This is caused by a change in the way LibreOfffice inteprets your X server DPI
+setting.
+This setting, when correctly configured, means that software can display text
+at its true size on the display.
+
+The official OpenOffice.org version assumes that anyone who has their X server
+configured with a DPI of less than 96 has not actually configured it at all,
+and sets it back to 96. Unfortunately, this has the side effect that
+displays with a lower DPI setting, such as some LCD laptop displays, cannot
+display the page at its true size.
+
+So you can fix this by correctly setting the DPI for your X server. Gnome
+users will find that it is set to 96 DPI by default; others may need to edit
+their X server configuration.
+
+The best way to get the correct DPI setting is to add a 'DisplaySize' entry to
+the Monitor section. From the XF86Config-4 man page:
+
+ DisplaySize width height
+ This optional entry gives the width and height, in millimetres, of the
+ picture area of the monitor. If given this is used to calculate the
+ horizontal and vertical pitch (DPI) of the screen.
+
+If you set this value correctly, X will calculate and use the correct DPI
+setting, even if you use several different display resolutions.
+
+From Nikita V. Youshchenko <yoush at cs.msu.su>:
+
+- Many display manager configurations pass the option "-dpi 100" to the X
+ server by default, overriding any autodetected DPI. This has to be removed
+ for DisplaySize to work. The file that you need to edit varies depending on
+ the way your X server is started:
+ xdm: /etc/X11/xdm/Xservers
+ kdm: /etc/kde3/kdm/Xservers
+ gdm: /etc/gdm/gdm.conf
+ startx: /etc/X11/xinit/xserverrc
+
+- Gnome's gconf overrides the autodetected DPI, by setting Xft.dpi to a value
+ entered in configuration dialog, 96 by default. I don't know what is
+ the clean fix for this. Perhaps it should be fixed on the Gnome side.
+
+From Juergen Kreileder <jk at blackdown.de>:>
+
+- Note that with most recent graphics cards and monitors XFree86 is able to
+ get the monitor size (and thus the correct dpi value) through ddc.
+ (**) NVIDIA(0): Validated modes for display device DFP-0:
+ (**) NVIDIA(0): Default mode "1600x1200": 189.0 MHz, 87.5 kHz, 70.0 Hz
+ (II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200
+ (--) NVIDIA(0): Display dimensions: (410, 310) mm
+ (--) NVIDIA(0): DPI set to (99, 98)
+ (That's with the proprietary NVIDIA drivers but other XFree86 drivers have
+ that support too.)
+
+If you use KDE or Gnome, LibreOffice will use the same font face and size as
+your desktop environment. If you use another window manager, you can either
+let it pick a default font itself, or change the font to be used (see next
+section), or set the OOO_FORCE_DESKTOP environment variable to
+kde (for kde3)/kde4 or gnome, to use KDE or Gnome settings respectively.
+
+Changing the default user interface font typeface for non-KDE/Gnome desktops
+----------------------------------------------------------------------------
+If you do not want to use KDE or Gnome settings and want to change font sizes
+within LibreOffice, you can configure the user interface font as follows:
+
+- Font size -
+
+You can change the font scaling using the user interface:
+
+ Tools Menu -> Options -> View -> Scale
+
+- Font typeface -
+
+You can change the default font typeface by replacing it with a different font
+installed on your system. This can be done using the font replacement function.
+Choose Tools - Options - LibreOffice - Font Replacement to access this
+function.
+
+To change the font of the LibreOffice user interface, you have to replace
+the default font "Andale Sans UI" with another font and mark the "always"
+setting for this replacement. "Andale Sans UI" is not selectable and has to be
+typed in. The replacement font has to be a font which supports the requested
+locale ( e.g for Korean language the replacement font has to be a font
+including Korean characters).
+
+Refer to the LibreOffice Help for a detailed explanation of the font
+replacement dialog.
+
+Disabling the splash screen
+===========================
+If you don't like the splash screen staying in front of other windows while
+LibreOffice is loading, you can disable it by editing
+/etc/openoffice/sofficerc. Change Logo=1 to Logo=0.
+
+More information about LibreOffice in Debian
+===============================================
+Please read the official README.gz (in the same directory as this file), too.
+
+If you have questions, either post to our the mailing list:
+
+ http://lists.debian.org/debian-openoffice
+
+Or go to the the #debian-oo IRC channel on irc.debian.org
+
+The Debian LibreOffice team
--- /dev/null
+Package directory modes
+=======================
+The packages can be built directly from a set of git/bzr checkouts (vcs mode),
+or from a set of release tarballs (tarball mode).
+
+Vcs mode is useful if you want to work on libreoffice during the development
+cycle. You can check out the latest sources and track them while you make
+changes.
+
+Tarball mode is used to prepare packages of official libreoffice releases
+from the tarballs created by upstream.
+
+Package directory layout - tarball mode
+=======================================
+
+The packaging scripts work in tarball mode when debian/rules contains:
+
+ USE_SOURCE_TARBALLS=y
+
+dpkg-source unpacks the packages like this:
+ extracting libreoffice in libreoffice-3.3.0~rc1
+ unpacking libreoffice_3.3.0~rc1.orig.tar.gz
+ unpacking libreoffice_3.3.0~rc1.orig-libreoffice-build-3-3-0-1.tar.gz
+ unpacking libreoffice_3.3.0~rc1.orig-ext-sources.tar.gz
+ unpacking libreoffice_3.3.0~rc1.orig-ext-sources-libreoffice-build-3-3-0-1.tar.gz
+ unpacking libreoffice_3.3.0~rc1-1.debian.tar.gz
+ applying installer-globals-max-1-regcomp.diff
+ applying splash-progressbarcolor.diff
+ applying buildfix-patches.diff
+ applying hack-no-rm-fr-of-smoketest-userconfig.diff
+
+The top level packaging directory looks like this:
+
+ debian/
+ ext-sources/
+ ext-sources-libreoffice-build-3-3-0-1/
+ libreoffice-build-3-3-0-1/
+ sources/
+
+The sources directory contains tarballs generated from the individual libreoffice git
+repositories. These are copied by the debian packaging scripts into the src/ directory
+of the libreoffice build tree.
+
+The debian, ext-sources, ext-sources-libreoffice-build and libreoffice-build directories
+are unpacked from the source tarballs of the same names.
+
+The libreoffice build is configured to build using tarballs using the --without-git flag.
+
+Patches are unpacked into debian/patches and applied.
+
+- debian/rules configuration -
+
+USE_SOURCE_TARBALLS=y # tarball mode
+OOO_BUILD_VERSION=3.3.0.1 # used to determine unpacked directory names, e.g. libreoffice-build-3-3-0-1
+OOO_BUILD_TARBALL_VERSION=3.3.0.1 # used to determine tarball suffix, e.g. libreoffice_3.3.0~rc1.orig-ext-sources-libreoffice-build-3-3-0-1.tar.gz
+ # also used to determine build directory name under build/libreoffice-$(OOO_BUILD_TARBALL_VERSION)
+
+Package directory layout - vcs mode
+===================================
+
+In vcs mode we are working directly from checkouts of the libreoffice sources. We pull in
+sources to these places:
+
+ debian - git packaging repository from pkg-openoffice project on alioth
+ libreoffice-build - base libreoffice repository
+ ext-sources - various source tarballs used during the build process
+ libreoffice-build/clone - libreoffice git repositories
+
+Libreoffice is configured to work directly from git repositories using the
+--with-git flag.
+
+- debian/rules configuration -
+
+USE_SOURCE_TARBALLS=n # vcs mode
+
+Source package checkout steps for vcs mode
+==========================================
+
+To create a package directory in vcs mode, you need to do the following:
+
+ # Create a top level directory with a name of your choice
+ mkdir libreoffice ; cd libreoffice
+
+ # Checkout the debian packaging repository
+ #
+ # The repository can be found at
+ # git://git.debian.org/git/pkg-openoffice/libreoffice.git
+ # or, if you have a login on alioth:
+ # ssh://USERNAME@git.debian.org/git/pkg-openoffice/libreoffice/
+ git clone -b ${DISTRO}-${SUITE}-${VERSION} git://git.debian.org/git/pkg-openoffice/libreoffice.git debian
+
+ # Checkout the libreoffice build repository
+ # if you have a login:
+ # git clone ssh://git.freedesktop.org/git/libreoffice/build
+ # useful flags:
+ # -b <branch> - checkout a different branch, e.g. -b libreoffice-3-3
+ # -r <directory> - copy the repository contents from another checkout, e.g. -r ../lo-old/libreoffice-build
+ #
+ git clone git://anongit.freedesktop.org/git/libreoffice/build libreoffice-build
+
+ # Edit debian/rules and make sure you have USE_SOURCE_TARBALLS=n
+ vi debian/rules
+
+ # Regenerate debian/control from the templates
+ debian/rules control
+
+ # Check you have all build dependencies installed
+ dpkg-checkbuilddeps
+ # If you do not have them, you will need to install them
+
+ # Set the directory where download will copy the external sources tarballs
+ mkdir ext-sources
+ export TARFILE_LOCATION=`pwd`/ext-sources
+
+ # run automake/configure and generate download script
+ cd libreoffice-build
+ ./autogen.sh --with-git
+
+ # If you already have a clone of the libreoffice repositories elsewhere on your machine,
+ # you can pass the directory name to the --with-git argument like this:
+ # ./autogen.sh --with-git=/home/chris/libreoffice-3.3/libreoffice-build/clone
+ # Don't forget to run 'bin/g pull -r' afterwards to bring the repos up to date.
+
+ # Download sources and clone the libreoffice git repositories
+ ./download
+
+ # If you need to work on a stable release branch, switch your working directories
+
+Source package creation steps for tarball mode
+==============================================
+The .orig.tar.gz consists of the 6 seperate tarballs from
+http://ftp.gwdg.de/pub/openoffice/stable/3.2.0/ of which some non-free
+stuff has been removed:
+ * core:
+ - psprint_config/configuration/ppds/.PS (except SGEN*.PS):
+ PPDs where "all rights [are] reserved"
+ * system:
+ - dictionaries/{da_DK,en_GB,en_US,nl_NL,ru_RU}/hyph_*.dic:
+ hyphenation patterns violating licenses/having questionable license
+ * extensions:
+ - jfreereport/download/liblayout.zip: liblayout/resource/rfc1345.txt
+and put them into sources/.
+
+Then we add ooo-build (as downloaded from http://download.go-oo.org/OOO320)
+into the tree as ooo-build-MAJOR-MINOR-MICRO[-NAN and have that in a
+libreoffice_3.2.0.orig-ooo-build-MAJOR-MINOR-MICRO-NANO.tar.gz file
+in the same dir as the orig (which we use as "component" in dpkg sense and
+thefore is mentioned in debian/source/components). Also we add the extra
+stuff this ooo-build release needs into ext-sources-<ooo-build-dir>. That step
+unfortunately is manual; the same as the translation-updates-YYYMMDD
+(ftp://ftp.linux.cz/pub/localization/LibreOffice/devel/build/Files/OOO320/
+is where we get those)
+
+See the "Format: 3.0 (quilt)" section dpkg-source(1) for more details.
+
+Note thet there is discussion whether dpkg actually should honour
+debian/source/components. It is said to not yet, but the file is used fo
+uuencoding if needed so needs to be up to date anyway and also is a good
+reference of what needs to be there.
+
+
+Chris Halls <halls@debian.org>
+December 2010
--- /dev/null
+LibreOffice QA Tools
+
+smoketest
+=========
+
+smoketest executes a set of macros that create a minimal document in
+each of LibreOffice's applications, tests cut&paste and
+saving/loading in various formats.
+
+Invoke it as oosmoketest.
+
+This program manipulates the LibreOffice user configuration, USE IT
+WITH A DEDICATED USER ACCOUNT if you value your settings.
+
+qadevOOo
+========
+
+qadevOOo is a framework for executing tests for the LibreOffice
+API. It is documented at
+http://qa.openoffice.org/qadevOOo_doc/user-guide.html
+
+Predefined properties files exist in /usr/lib/openoffice/qadevOOo.
+
+Invoke it like e.g:
+
+ ootestapi -ini /usr/lib/openoffice/qadevOOo/java.props -o sd.SdMasterPage
+
+That properties files specify AppExecutionCommand, i.e. an office will
+be started if necessary. Some tests, however seem to work better if
+the office was started manually, as written in the user guide.
+
+ /usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;urp;"
+
+Use this invocation and not ooffice to prevent interference with the
+quickstarter code.
+
+testtool
+========
+
+testtool is a framework for executing tests by automating actions in
+LibreOffice's user interface. It is documented at
+http://qa.openoffice.org/qatesttool/index.html
+
+Test scripts for testtool are available in the
+libreoffice-qa-ui-tests package.
+
+Start it as ootesttool.
+
+If you're starting it for the first time, create a profile in
+Extras->Settings where you specify the location of test scripts and
+output path for log files. The default values point to the scripts
+from the libreoffice-qa-ui-tests package, so simply giving a name
+to the profile and pressing the "New" button is enough.
+
+Then open a test script and press F5 to start the test.
+
+Some test scripts may change your LibreOffice user
+configuration. USE IT WITH A DEDICATED USER ACCOUNT if you value your
+settings.
--- /dev/null
+--- aotcompile.py-old 2007-11-26 11:18:40.000000000 +0100
++++ aotcompile.py 2007-11-26 11:19:19.000000000 +0100
+@@ -31,23 +31,8 @@
+ GCJFLAGS = ["-g", "-O2", "-fPIC", "-findirect-dispatch", "-fjni"]
+ LDFLAGS = ["-Wl,-Bsymbolic"]
+
+-MAX_CLASSES_PER_JAR = 1024
+-MAX_BYTES_PER_JAR = 1048576
+-
+-# Calculate the maximum jar size/maximum classes per jar.
+-try:
+- for line in file('/proc/meminfo'):
+- if line.startswith('MemTotal:'):
+- memtotal = int(line.split()[1])
+- break
+- if memtotal < 2200000:
+- MAX_CLASSES_PER_JAR = 512
+- MAX_BYTES_PER_JAR = 524288
+- if memtotal < 1100000:
+- MAX_CLASSES_PER_JAR = 256
+- MAX_BYTES_PER_JAR = 262144
+-except:
+- pass
++MAX_CLASSES_PER_JAR = 256
++MAX_BYTES_PER_JAR = 262144
+
+ MAKEFILE = "Makefile"
+
--- /dev/null
+Reporting a bug against LibreOffice
+--------------------------------------
+I) Make sure it's a LibreOffice bug after all: #398923 and its friends for
+ example are not.
+ Set the Version: header right. If you found a bug in a specific version,
+ set that as version:, even if you in the meanwhile upgraded. If you are on
+ an up-to-date version and tried old versions and they have the bug, too, set
+ the Version: header to the earliest version you found it in (of course, if
+ versions inbetween don't have the bug use the version in which it reappeared
+ and sustained to the current version)
+
+II) Check on the BTS (http://bugs.debian.org/src:libreoffice) whether the
+ bug already is reported. Do *NOT* report a new one then. For judging whether
+ it's already reported, read *ALL* the bugs, think, try and use common sense.
+
+III) If you have crashes with a document, try another one. If only that or
+ similar docs causes problems please attach THIS (or a similar type one
+ causing it). Otherwise, don't file a bug, we can't look at it anyway.
+
+IV) Please attach a backtrace if possible (see
+ http://wiki.debian.org/OpenOffice#debug). Install libreoffice-dbg
+ before doing this (and the packages it Recommends).
+
+ Please also read /usr/share/doc/libreoffice-common/README.gz for common
+ problems ("Problems During Program Startup")
+ If you have NFS/Samba/... file locking problems (i.e. files opened
+ read-only when they should be read-write), also see the "File Locking"
+ section in above file.
+
+V) If the bug is also in the version you can get from www.libreoffice.org, file
+ it there in the first place. If you really think this also should be a bug
+ in the Debian BTS (because it's (release-)critical or otherwise important)
+ please file a bug there too *BUT* note the issue number in the bug or
+ mark it forwarded yourself if you can. Especially this is for feature
+ requests.
+ If you tested other LibreOffice packages and the bug is (not) in version
+ foo from bar, mention that, too.
+
+VI) Only report bugs on completely up-to-date systems. Don't file bugs on a
+ obsolete version and neither on sid/testing systems really old. If bugs
+ got fixed in sid, it doesn't make sense to file them anymore. (Exception
+ is security bugs or really critical bugs which should be get fixed in
+ stable.) When you think a dependency is missing/wrong/too lax please be
+ *sure* that this is the case before reporting it. Most times it isn't.
+ Use common sense and the bug severities for judging here. When you think
+ you have an up-to-date system, check whether you really have one.
+ (And do a dist-upgrade, try to reproduce the bug again).
+ Also don't report bugs on broken mix systems unless you are sure about the
+ dependencies/conflicts (see above).
+
+VII) Please give as much info as possible (installed OOo packages, installed
+ extensions, "special" configs, additions, changes, whatever). Better too
+ much than too less. (See #396225 for example which was caused by an
+ unsupportable, non-free extension)
+
+Thanks.
--- /dev/null
+<?xml version="1.0"?>
+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.0//EN"
+ "file:///usr/share/xml/schema/xml-core/catalog.dtd">
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
+<public publicId="-//OpenOffice.org//DTD OfficeDocument 1.0//EN" uri="/@OODIR@/share/dtd/officedocument/1_0/office.dtd"/>
+</catalog>
--- /dev/null
+Source: libreoffice
+Section: editors
+Priority: optional
+Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
+Uploaders: Rene Engelhard <rene@debian.org>
+Build-Depends: dpkg-dev (>= 1.16.1), lsb-release, bzip2, bison, flex | flex-old, libxaw7-dev, unzip, zip, autoconf, automake, sharutils, pkg-config, libfontconfig1-dev, libc0.1 (>= 2.10.2-7) [kfreebsd-i386 kfreebsd-amd64], zlib1g-dev, libfreetype6-dev, libx11-dev, libsm-dev, libxt-dev, libxext-dev, libxtst-dev, libice-dev, libcups2-dev, libarchive-zip-perl, fastjar, xsltproc, libxkbfile-dev, libxinerama-dev, x11proto-render-dev, libxml-parser-perl, gperf, po-debconf, bc, wget | curl, gcc-4.4 [mips mipsel], g++-4.4 [mips mipsel], libgl1-mesa-dev [!armel !mips !mipsel], libglu1-mesa-dev [!armel !mips !mipsel], libpoppler-dev (>= 0.8.0), libpoppler-private-dev, libpoppler-cpp-dev, libgraphite2-dev (>= 0.9.3) [!alpha !armel !sparc], libexttextcat-dev (>= 3.1.1), libjpeg-dev, libxml2-dev, libxslt1-dev, libexpat1-dev, unixodbc-dev (>= 2.2.11), libsane-dev, libxrender-dev, libpng12-dev, libssl-dev, librsvg2-dev, libdb-dev, python (>= 2.6.6-3+squeeze4), python-dev (>= 2.6), python3-dev, debhelper (>= 7.2.3~), libcppunit-dev (>= 1.12), gdb, junit4 (>= 4.8.2-2), openjdk-6-jdk (>= 6b23~pre8-2) [alpha amd64 armel armhf i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc], openjdk-7-jdk [ia64], gcj-jdk [hppa kfreebsd-i386 kfreebsd-amd64], gcj-native-helper [hppa kfreebsd-amd64 kfreebsd-i386], libgcj-common (>= 1:4.4.1) [hppa kfreebsd-amd64 kfreebsd-i386], ant (>= 1.7.0), ant-optional (>= 1.7.0), g++-mingw-w64-i686 [i386 amd64], libcommons-codec-java, libcommons-httpclient-java, libcommons-lang-java, libcommons-logging-java (>= 1.1.1-9), libservlet2.5-java, libbase-java [!hppa !kfreebsd-amd64 !kfreebsd-i386], libsac-java [!hppa !kfreebsd-amd64 !kfreebsd-i386], libxml-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386], libflute-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386], libpentaho-reporting-flow-engine-java (>= 0.9.4) [!hppa !kfreebsd-amd64 !kfreebsd-i386], liblayout-java (>= 0.2.10) [!hppa !kfreebsd-amd64 !kfreebsd-i386], libloader-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386], libformula-java (>= 1.1.7) [!hppa !kfreebsd-amd64 !kfreebsd-i386], librepository-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386], libfonts-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386], libserializer-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386], libcommons-logging-java (>= 1.1.1-9), libservlet2.5-java, javahelper (>= 0.37~), libnss3-dev (>= 3.12.3), dmake (>= 1:4.11), libhunspell-dev (>= 1.1.5-2), libhyphen-dev (>= 2.4), libstlport4.6-dev (>= 4.6.2-3) [i386], libboost-dev (>= 1.38), libmdds-dev (>= 0.5.0), libvigraimpex-dev, libsampleicc-dev, libicc-utils-dev, libwpd-dev (>= 0.9.0), libmythes-dev (>= 2:1.2), libwps-dev (>= 0.2.0), libwpg-dev (>= 0.2.0), libvisio-dev, libcmis-dev, libicu-dev (>= 4.0), libcairo2-dev, kdelibs5-dev (>= 4:4.3.4), libqt4-dev (>= 4:4.8), libmysqlclient-dev, libmysqlcppconn-dev (>= 1.1.0~r791), libgtk2.0-dev (>= 2.10), libgtk-3-dev (>= 3.2~), libebook1.2-dev, libpq-dev (>= 9.0~), libxrandr-dev, liblucene2-java (>= 2.3.2), libhsqldb-java (>> 1.8.0.10), bsh (>= 2.0b4), liblpsolve55-dev (>= 5.5.0.13-5+b1), lp-solve (>= 5.5.0.13-5+b1), libsuitesparse-dev (>= 1:3.4.0), libdbus-glib-1-dev (>= 0.70), libgstreamer-plugins-base0.10-dev, libneon27-gnutls-dev, librdf0-dev (>= 1.0.8), libglib2.0-dev (>= 2.15.0), libgconf2-dev, liborbit2-dev, gettext, make (>= 3.81-8.2), libldap2-dev
+Build-Depends-Indep: fdupes, xml-core, imagemagick, fontforge
+Build-Conflicts: libcairo2 (= 1.4.8-1), libxul-dev (= 1.8.0.13~pre070720-0etch1), gjdoc (= 0.7.8-2), libc6-dev (= 2.6.1-3) [i386 amd64], libc6-dev (= 2.6.1-4) [i386 amd64], libc0.1-dev (= 2.13-26) [kfreebsd-i386 kfreebsd-amd64], nvidia-glx-dev, nvidia-glx-legacy-dev, gcj-4.2 (= 4.2.2-6), flex (= 2.5.34-1) [amd64], libboost1.39-dev (<< 1.39.0-2), graphicsmagick-imagemagick-compat (<< 1.3.9~), qt3-dev-tools, ant (= 1.8.0-1) [hppa kfreebsd-i386 kfreebsd-amd64], ant (= 1.8.0-2) [hppa kfreebsd-i386 kfreebsd-amd64], ant (= 1.8.0-3) [hppa kfreebsd-i386 kfreebsd-amd64], g++-4.6 (= 4.6.1-10), g++-4.6 (= 4.6.1-11), gcc (>= 4:4.7~) [!i386 !amd64 !kfreebsd-i386 !kfreebsd-amd64], g++ (>= 4:4.7~) [!i386 !amd64 !kfreebsd-i386 !kfreebsd-amd64], base-files (= 6.0), base-files (= 6.0squeeze1), libhsqldb-java (>= 1.8.1~)
+Standards-Version: 3.9.1
+XS-Python-Version: current
+Vcs-Git: https://alioth.debian.org/anonscm/git/pkg-openoffice/libreoffice.git
+Vcs-Browser: http://git.debian.org/?p=pkg-openoffice/libreoffice.git;a=summary
+Bugs:
+Homepage: http://www.libreoffice.org
+
+Package: libreoffice
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Section: metapackages
+Depends: libreoffice-core (= ${binary:Version}), libreoffice-writer, libreoffice-calc, libreoffice-impress, libreoffice-draw, libreoffice-math, libreoffice-base, libreoffice-report-builder-bin [!hppa !kfreebsd-amd64 !kfreebsd-i386], ttf-dejavu, ttf-sil-gentium-basic, libreoffice-filter-mobiledev, ${lucene-depends}, ${java-common-depends}, ${misc:Depends}
+Recommends: ttf-liberation | ttf-mscorefonts-installer, libpaper-utils
+Suggests: hunspell-dictionary, myspell-dictionary, libreoffice-help-${help-l10n-virtual-version}, libreoffice-l10n-${help-l10n-virtual-version}, unixodbc, cups-bsd, libsane, hyphen-hyphenation-patterns, mythes-thesaurus, libreoffice-grammarcheck, libxrender1, libgl1, libreoffice-gnome | libreoffice-kde, iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser, ${java-runtime-depends}, openclipart-libreoffice, pstoedit, imagemagick | graphicsmagick-imagemagick-compat, ${gstreamer-plugins-suggests}, ${libldap-suggests}, ${ooo-binfilter-dep}, ${ooo-officebean-dep}
+Description: office productivity suite
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This metapackage installs all components of libreoffice:
+ * libreoffice-writer: Word processor
+ * libreoffice-calc: Spreadsheet
+ * libreoffice-impress: Presentation
+ * libreoffice-draw: Drawing
+ * libreoffice-base: Database
+ * libreoffice-math: Equation editor
+ * libreoffice-filter-mobiledev: Mobile Devices filters
+ .
+ You can extend the functionality of LibreOffice by installing these
+ packages:
+ * hunspell-*/myspell-*: Hunspell/Myspell dictionaries
+ for use with LibreOffice
+ * libreoffice-l10n-*: UI interface translation
+ * libreoffice-help-*: User help
+ * mythes-*: Thesauri for the use with LibreOffice
+ * hyphen-*: Hyphenation patterns for LibreOffice
+ * libreoffice-gtk: Gtk UI Plugin, GNOME File Picker support,
+ QuickStarter for GNOMEs notification are
+ * libreoffice-gnome: GIO, GConf backend
+ * libreoffice-kde: KDE UI Plugin and KDE File Picker support
+ * unixodbc: ODBC database support
+ * cups-bsd: Allows LibreOffice to detect your CUPS printer queues
+ automatically
+ * libsane: Use your sane-supported scanner with LibreOffice
+ * libxrender1: Speed up display by using Xrender library
+ * libgl1: OpenGL support
+ * openclipart-libreoffice: Open Clip Art Gallery with LibreOffice index
+ files
+ * iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser:
+ Mozilla profile with Certificates needed for XML Security...
+ * openjdk-6-jre | gcj-jre | java5-runtime:
+ Java Runtime Environment for use with LibreOffice
+ * pstoedit / imagemagick: helper tools for EPS thumbnails
+ * gstreamer0.10-plugins-*: GStreamer plugins for use with LibreOffices
+ media backend
+ * libpaper-utils: papersize detection support via paperconf
+ * libldap-2.4-2: LDAP client library; needed for LibreOffice getting its
+ profiles from LDAP
+ * libreoffice-filter-binfilter: legacy filters (e.g. StarOffice 5.2)
+
+Package: libreoffice-l10n-za
+Section: metapackages
+Architecture: all
+Depends: libreoffice-l10n-af, libreoffice-l10n-en-za, libreoffice-l10n-nr, libreoffice-l10n-nso, libreoffice-l10n-ss, libreoffice-l10n-st, libreoffice-l10n-tn, libreoffice-l10n-ts, libreoffice-l10n-ve, libreoffice-l10n-xh, libreoffice-l10n-zu, ${misc:Depends}
+Description: office productivity suite -- South African language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all 11 South
+ African languages.
+
+Package: libreoffice-l10n-in
+Section: metapackages
+Architecture: all
+Depends: libreoffice-l10n-as, libreoffice-l10n-bn, libreoffice-l10n-gu, libreoffice-l10n-hi, libreoffice-l10n-ml, libreoffice-l10n-mr, libreoffice-l10n-or, libreoffice-l10n-pa-in, libreoffice-l10n-ta, libreoffice-l10n-te, ${misc:Depends}
+Recommends: ttf-indic-fonts
+Description: office productivity suite -- Indic language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all available
+ indic languages.
+
+Package: libreoffice-core
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-common (>> ${base-version}), fonts-opensymbol, ${shlibs:Depends}, fontconfig, ${misc:Depends}
+Pre-Depends: ure (>= 1.5.1+OOo3.1.1-15)
+Conflicts: libreoffice-calc (<< ${binary:Version}), libreoffice-writer (<< ${binary:Version}), libreoffice-impress (<< ${binary:Version}), libreoffice-draw (<< ${binary:Version}), libreoffice-base (<< ${binary:Version}), libreoffice-gtk (<< ${binary:Version}), libreoffice-gnome (<< ${binary:Version}), libreoffice-kde (<< ${binary:Version}), libreoffice-evolution (<< ${binary:Version}), libreoffice-filter-so52 (<< ${binary:Version}), libreoffice-officebean (<< ${binary:Version}), libreoffice-dev (<< ${binary:Version}), libreoffice-style-crystal (<< 1:3.3.0-1), libreoffice-style-oxygen (<< 1:3.3.0-1), libreoffice-style-tango (<< 1:3.3.0-1), libreoffice-style-hicontrast (<< 1:3.3.0-1), libreoffice-style-galaxy (<< 1:3.3.0-1), libreoffice-style-andromeda (<< 1:3.3.0-1), libcairo2 (= 1.4.8-1), libicu38 (= 3.8~d01-1), cli-uno-bridge (<< 1:3.0.0~dev300m22), cacao-oj6-jre, mozilla-plugin-vlc (<< 1.0)
+Breaks: myspell-ru (<< 0.99g5-8.1), myspell-lv (<< 0.7.3-3.1), myspell-et (<< 1:20030606-12.1), myspell-fi (<< 0.7-17.2), myspell-cs-cz (<< 20040229-4.1), myspell-el-gr (<< 0.3-1.1), myspell-nn (<< 2.0.10-3.1), myspell-nb (<< 2.0.10-3.1), hunspell-ar (<< 0.0.0+20080110-1.1), myspell-hu (<< 0.99.4-1.2), hunspell-gl-es (<< 2.2a-6), myspell-gv (<< 0.50-8), myspell-en-au (<< 2.1-5), myspell-fa (<< 0.20070816-2), hunspell-uz (<< 0.6-3.1), hunspell-ko (<< 0.3.3-1), hunspell-se (<< 1.0~beta6.20081222-1.1), hunspell-de-med (<< 20090825-1), hunspell-en-us (<< 20070829-3), myspell-sv-se (<< 1.3.8-6-2.2), myspell-sk (<< 0.5.5a-2.1), myspell-fo (<< 0.2.36-3), myspell-nl (<< 1:1.10-3), myspell-pt-br (<< 2009.03.30-1.1), myspell-pl (<< 20090830-1), myspell-pt-pt (<< 20090309-1.1), myspell-ga (<< 2.0-19), myspell-gd (<< 0.50-7), myspell-ku (<< 0.20.0-1.1), myspell-hr (<< 20060617-2), myspell-fr-gut (<< 1:1.0-26.1), myspell-eo (<< 2.1.2000.02.25-41), myspell-de-de-oldspell (<< 1:2-25.1), myspell-da (<< 1.6.18-1.1), myspell-es (<< 1.10-7), myspell-de-at (<< 20071211-2), myspell-de-ch (<< 20071211-2), myspell-de-de (<< 20071211-2), hunspell-de-at (<< 20071211-2), hunspell-de-ch (<< 20071211-2), hunspell-de-de (<< 20071211-2), myspell-ca (<< 0.6-8), myspell-tl (<< 0.4-0-5), myspell-ne (<< 1.0-4.1), myspell-fr (<< 1.4-25), myspell-hy (<< 0.10.1-1.1), myspell-en-us (<< 1:3.1.0-3), myspell-en-gb (<< 1:3.1.0-3), myspell-en-za (<< 1:3.1.0-3), myspell-af (<< 1:3.1.0-3), myspell-it (<< 1:3.1.0-3), myspell-sw (<< 1:3.1.0-3), myspell-th (<< 1:3.1.0-3), hunspell-en-ca (<< 1:3.1.0-3), hunspell-ne (<< 1:3.1.0-3), hunspell-da (<< 1:3.1.0-3), hunspell-fr (<< 1:3.1.0-3), hunspell-vi (<< 1:3.1.0-3), hunspell-hu (<< 1:3.1.0-3), hunspell-sr (<< 1:3.1.0-3), hunspell-sh (<< 1:3.1.0-3), myspell-lv (<< 0.7.3-3.1), myspell-et (<< 1:20030606-12.1), myspell-nn (<< 2.0.10-3.1), myspell-nb (<< 2.0.10-3.1), libreoffice-filter-binfilter (<< 1:3.4.1~), libreoffice-evolution (<< 1:3.4.1~), libreoffice-kab (<< 1:3.4.1~), libreoffice-sdbc-postgresql (<< 0.8.1~), mozilla-libreoffice (<< 1:3.5.0~beta~)
+Provides: libreoffice-bundled
+Replaces: libreoffice-calc (<< 1:3.3.2-5)
+Description: office productivity suite -- arch-dependent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-dependent core files of
+ LibreOffice. See the libreoffice package for more information.
+
+Package: libreoffice-common
+Architecture: all
+Pre-Depends: dpkg (>= 1.15.7.2~)
+Depends: libreoffice-style-default | libreoffice-style, ${misc:Depends}, ure
+Suggests: libreoffice-style-hicontrast, libreoffice-style-tango, libreoffice-style-crystal, libreoffice-style-oxygen
+Recommends: xfonts-mathml, ${textcat-data-recommends}
+Conflicts: libtextcat-data (<< 2.2-8), broffice, openoffice.org-common (<< 1:3.3.0~)
+Provides: libreoffice-l10n-en-us
+Breaks: libreoffice-style-crystal (<< 1:${oover}~),
+ libreoffice-style-oxygen (<< 1:${oover}~),
+ libreoffice-style-industrial,
+ libreoffice-style-tango (<< 1:${oover}~),
+ libreoffice-style-hicontrast (<< 1:${oover}~),
+ libreoffice-style-galaxy (<< 1:${oover}~),
+ libreoffice-style-andromeda (<< 1:${oover}~),
+ libreoffice-core (<< 1:${oover}~),
+ libreoffice-style-crystal (>= 1:${next-oover}~),
+ libreoffice-style-oxygen (>= 1:${next-oover}~),
+ libreoffice-style-tango (>= 1:${next-oover}~),
+ libreoffice-style-hicontrast (>= 1:${next-oover}~),
+ libreoffice-style-galaxy (>= 1:${next-oover}~),
+ libreoffice-core (>= 1:${next-oover}~)
+Replaces: openoffice.org-common (<< 1:3.3.0~)
+Description: office productivity suite -- arch-independent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ LibreOffice.
+
+Package: libreoffice-java-common
+Architecture: all
+Depends: libreoffice-common, ${java:Depends}, ${misc:Depends}
+Description: office productivity suite -- arch-independent Java support files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ the Java support for LibreOffice (Java classes, scripts, config snippets).
+
+Package: libreoffice-writer
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), libreoffice-base-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Recommends: ${ooo-binfilter-dep}, ${java-runtime-depends}, ${java-common-depends}, libreoffice-emailmerge, libreoffice-math
+Replaces: libreoffice-core (<< 1:3.3.2-5)
+Suggests: libreoffice-gcj, libreoffice-base
+Description: office productivity suite -- word processor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the wordprocessor component for LibreOffice.
+
+Package: libreoffice-calc
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), libreoffice-base-core (= ${binary:Version}), ${shlibs:Depends}, ${lpsolve-dep}, ${misc:Depends}
+Description: office productivity suite -- spreadsheet
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the spreadsheet component for LibreOffice.
+
+Package: libreoffice-impress
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), libreoffice-draw (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: office productivity suite -- presentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation component for LibreOffice.
+
+Package: libreoffice-draw
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: office productivity suite -- drawing
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the drawing component for LibreOffice.
+
+Package: libreoffice-math
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, fonts-opensymbol
+Description: office productivity suite -- equation editor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the equation editor component for LibreOffice.
+
+Package: libreoffice-base-core
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Replaces: libreoffice-base (<< 1:3.5.3~rc2-1)
+Suggests: libreoffice-base
+Description: office productivity suite -- shared library
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains libdba, a common library of the LibreOffice
+ suite used by Base, Writer and Calc.
+ .
+ If you need full Base functionality (or actual database drivers), please
+ install libreoffice-base.
+
+Package: libreoffice-base
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Section: database
+Depends: libreoffice-core (= ${binary:Version}), libreoffice-base-core (= ${binary:Version}), ${shlibs:Depends}, ${java-runtime-depends}, ${java:Depends}, ${java-common-depends}, ${misc:Depends}
+Suggests: unixodbc, libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | mdbtools, libmysql-java | libpg-java | libjtds-java, libreoffice-gcj, libreoffice-report-builder
+Description: office productivity suite -- database
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database component for LibreOffice.
+ .
+ You can extend the functionality of LibreOffice Base by installing these
+ packages:
+ .
+ * unixodbc: ODBC database support
+ * libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | mdbtools: ODBC
+ drivers for:
+ - MySQL
+ - PostgreSQL
+ - SQLite
+ - MS SQL / Sybase SQL
+ - *.mdb (JET / MS Access)
+ * libmysql-java | libpg-java | libjtds-java: JDBC Drivers
+ for:
+ - MySQL
+ - PostgreSQL
+ - MS SQL Server and Sybase
+
+Package: libreoffice-style-crystal
+Architecture: all
+Depends: ${misc:Depends}, libreoffice-core
+Suggests: kde-icons-crystal, crystalcursors
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Crystal symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "crystal" symbol style, default style for KDE 3.
+
+Package: libreoffice-style-oxygen
+Architecture: all
+Depends: ${misc:Depends}, libreoffice-core
+Suggests: kde-icons-oxygen, oxygencursors
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Oxygen symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "oxygen" symbol style, default style for KDE 4.
+
+Package: libreoffice-style-tango
+Architecture: all
+Depends: ${misc:Depends}, libreoffice-core
+Suggests: tango-icon-theme
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Tango symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "tango" symbol style, default style
+ for GTK+/Gnome.
+
+Package: libreoffice-style-hicontrast
+Architecture: all
+Depends: ${misc:Depends}, libreoffice-core
+Suggests: gtk2-engines
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Hicontrast symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "hicontrast" symbol style, needs to be manually
+ enabled in the LibreOffice option menu.
+
+Package: libreoffice-style-galaxy
+Architecture: all
+Depends: ${misc:Depends}, libreoffice-core
+Provides: libreoffice-style-default, libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Galaxy (Default) symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "Galaxy" symbol style from Sun, normally used on
+ MS Windows (tm) and when not using GNOME or KDE, needs to be manually
+ enabled in the LibreOffice option menu.
+
+Package: libreoffice-gtk
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Recommends: libreoffice-style-tango
+Section: gnome
+Enhances: libreoffice
+Conflicts: libgtk2.0-0 (= 2.12.10-1) [amd64]
+Description: office productivity suite -- GTK+ integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ and a Gtk/GNOMEish File Picker and print dialog when running
+ under GNOME. It also contains a QuickStarter for the "notification area".
+
+Package: libreoffice-gtk3
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Recommends: libreoffice-style-tango
+Section: gnome
+Enhances: libreoffice
+Description: office productivity suite -- GTK+ 3.0 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ 3.0 and Gtk/GNOMEish print dialog when running under GNOME.
+
+Package: libreoffice-gnome
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), libreoffice-gtk, gconf2, ${shlibs:Depends}, ${misc:Depends}
+Suggests: libreoffice-evolution
+Section: gnome
+Enhances: libreoffice
+Provides: libreoffice-gtk-gnome
+Description: office productivity suite -- GNOME integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the GIO support and a GConf backend.
+ .
+ You can extend the functionality of this by installing these packages:
+ .
+ * libreoffice-evolution: Evolution addressbook support
+ * evolution
+
+Package: libreoffice-emailmerge
+Architecture: all
+Depends: ${python:Depends}, python-uno | python3-uno, libreoffice-core, ${misc:Depends}
+Enhances: libreoffice-writer
+Replaces: python-uno (<< 1:2.4.1-5)
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- email mail merge
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains a component which allows LibreOffice to "mail merge"
+ to E-Mail.
+
+Package: python-uno
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Section: python
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Enhances: libreoffice
+Depends: libreoffice-core (= ${binary:Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Conflicts: python3-uno, libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Description: Python-UNO bridge
+ The Python-UNO bridge allows use of the standard LibreOffice API
+ with the Python scripting language. It additionally allows
+ others to develop UNO components in Python, thus Python UNO components
+ may be run within the LibreOffice process and can be called from C++
+ or the built in StarBasic scripting language.
+Homepage: http://udk.openoffice.org/python/python-bridge.html
+
+Package: python3-uno
+Section: python
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Enhances: libreoffice
+Depends: libreoffice-core (= ${binary:Version}), ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Conflicts: python-uno
+Description: Python-UNO bridge
+ The Python-UNO bridge allows use of the standard LibreOffice API
+ with the Python scripting language. It additionally allows
+ others to develop UNO components in Python, thus Python UNO components
+ may be run within the LibreOffice process and can be called from C++
+ or the built in StarBasic scripting language.
+Homepage: http://udk.openoffice.org/python/python-bridge.html
+
+Package: libreoffice-officebean
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Section: java
+Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${java-runtime-depends}, ${java-common-depends}, ${java:Depends}, ${misc:Depends}
+Description: office productivity suite -- Java bean
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the LibreOffice Office Bean for embedding
+ LibreOffice in custom Java applications.
+
+Package: libreoffice-filter-mobiledev
+Section: misc
+Architecture: all
+Depends: ${java-runtime-depends}, ${java-common-depends}, ${java:Depends}, ${misc:Depends}
+Breaks: libreoffice-core (<< 1:3.5~)
+Description: office productivity suite -- mobile devices filters
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the filters for Mobile Devices:
+ * AportisDoc (Palm)
+ * PocketWord
+ * PocketExcel
+
+Package: openoffice.org-dtd-officedocument1.0
+Section: text
+Priority: extra
+Depends: xml-core, ${misc:Depends}
+Architecture: all
+Conflicts: libreoffice-dtd-officedocument1.0
+Provides: libreoffice-dtd-officedocument1.0
+Replaces: libreoffice-dtd-officedocument1.0
+Description: office productivity suite -- legacy 1.0 XML DTD
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Document Type Definition (DTD) of the
+ OpenOffice.org 1.x(!) XML file format.
+
+Package: libreoffice-script-provider-python
+Architecture: all
+Section: python
+Depends: libreoffice-common, libreoffice-core (>= 1:3.5.0~alpha0~), libreoffice-common (>= 1:3.5.0~alpha0~), ${python:Depends}, python-uno | python3-uno, ${misc:Depends}
+Replaces: python-uno (<< 1:3.5.2-2), python3-uno (<< 1:3.5.2-2)
+Conflicts: libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Description: Python script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support Python.
+
+Package: libreoffice-script-provider-bsh
+Architecture: all
+Section: java
+Depends: libreoffice-java-common, libreoffice-core (>= 1:3.5.0~alpha0~), libreoffice-common (>= 1:3.5.0~alpha0~), ${java-runtime-depends}, ${bsh-depends}, ${misc:Depends}
+Replaces: libreoffice-java-common (<< 1:3.4~)
+Description: BeanShell script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support BeanShell.
+
+Package: libreoffice-script-provider-js
+Architecture: all
+Section: web
+Replaces: libreoffice-common (<< 1:3.4~)
+Depends: libreoffice-java-common, libreoffice-core (>= 1:3.5.0~alpha0~), libreoffice-common (>= 1:3.5.0~alpha0~), ${java-runtime-depends}, ${misc:Depends}
+Description: JavaScript script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support JavaScript.
+
+Package: libreoffice-l10n-af
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-af
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-af | myspell-dictionary-af, hyphen-af, mythes-af, libreoffice-help-af, libreoffice-grammarcheck-af
+Description: office productivity suite -- Afrikaans language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Afrikaans.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ar
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ar, ttf-arabeyes
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ar | myspell-dictionary-ar, hyphen-ar, mythes-ar, libreoffice-help-ar, libreoffice-grammarcheck-ar
+Description: office productivity suite -- Arabic language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Arabic.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-as
+Section: localization
+Architecture: all
+Depends: locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1), ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-as
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-as | myspell-dictionary-as, hyphen-as, mythes-as, libreoffice-help-as, libreoffice-grammarcheck-as
+Description: office productivity suite -- Assamese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Assamese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ast
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ast
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ast | myspell-dictionary-ast, hyphen-ast, mythes-ast, libreoffice-help-ast, libreoffice-grammarcheck-ast
+Description: office productivity suite -- Asturian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Asturian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-be
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-be
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-be | myspell-dictionary-be, hyphen-be, mythes-be, libreoffice-help-be, libreoffice-grammarcheck-be
+Description: office productivity suite -- Belarussian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Belarussian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-bg
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-bg
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-bg | myspell-dictionary-bg, hyphen-bg, mythes-bg, libreoffice-help-bg, libreoffice-grammarcheck-bg
+Description: office productivity suite -- Bulgarian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Bulgarian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-bn
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-bn, ttf-bengali-fonts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-bn | myspell-dictionary-bn, hyphen-bn, mythes-bn, libreoffice-help-bn, libreoffice-grammarcheck-bn
+Description: office productivity suite -- Bengali language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Bengali.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-br
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-br
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-br | myspell-dictionary-br, hyphen-br, mythes-br, libreoffice-help-br, libreoffice-grammarcheck-br
+Description: office productivity suite -- Breton language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Breton.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-bs
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-bs
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-bs | myspell-dictionary-bs, hyphen-bs, mythes-bs, libreoffice-help-bs, libreoffice-grammarcheck-bs
+Description: office productivity suite -- Bosnian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Bosnian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ca
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ca
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ca | myspell-dictionary-ca, hyphen-ca, mythes-ca, libreoffice-help-ca, libreoffice-grammarcheck-ca
+Description: office productivity suite -- Catalan language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Catalan.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-cs
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-cs
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-cs | myspell-dictionary-cs, hyphen-cs, mythes-cs, libreoffice-help-cs, libreoffice-grammarcheck-cs
+Description: office productivity suite -- Czech language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Czech.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-cy
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-cy
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-cy | myspell-dictionary-cy, hyphen-cy, mythes-cy, libreoffice-help-cy, libreoffice-grammarcheck-cy
+Description: office productivity suite -- Welsh language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Welsh.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-da
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-da
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-da | myspell-dictionary-da, hyphen-da, mythes-da, libreoffice-help-da, libreoffice-grammarcheck-da
+Description: office productivity suite -- Danish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Danish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-de
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-de
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-de | myspell-dictionary-de, hyphen-de, mythes-de, libreoffice-help-de, libreoffice-grammarcheck-de
+Description: office productivity suite -- German language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ German.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-dz
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-dz, ttf-dzongkha
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-dz | myspell-dictionary-dz, hyphen-dz, mythes-dz, libreoffice-help-dz, libreoffice-grammarcheck-dz
+Description: office productivity suite -- Dzongkha language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Dzongkha.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-el
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-el
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-el | myspell-dictionary-el, hyphen-el, mythes-el, libreoffice-help-el, libreoffice-grammarcheck-el
+Description: office productivity suite -- Greek language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Greek.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-en-gb
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-en
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-en-gb | myspell-dictionary-en-gb, hyphen-en-gb, mythes-en-gb, libreoffice-help-en-gb, libreoffice-grammarcheck-en-gb
+Description: office productivity suite -- English_british language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ English_british.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-en-za
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-en
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-en-za | myspell-dictionary-en-za, hyphen-en-za, mythes-en-za, libreoffice-help-en-za, libreoffice-grammarcheck-en-za
+Description: office productivity suite -- English_southafrican language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ English_southafrican.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-eo
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-eo
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-eo | myspell-dictionary-eo, hyphen-eo, mythes-eo, libreoffice-help-eo, libreoffice-grammarcheck-eo
+Description: office productivity suite -- Esperanto language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Esperanto.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-es
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-es
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-es | myspell-dictionary-es, hyphen-es, mythes-es, libreoffice-help-es, libreoffice-grammarcheck-es
+Description: office productivity suite -- Spanish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Spanish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-et
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-et
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-et | myspell-dictionary-et, hyphen-et, mythes-et, libreoffice-help-et, libreoffice-grammarcheck-et
+Description: office productivity suite -- Estonian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Estonian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-eu
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-eu
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-eu | myspell-dictionary-eu, hyphen-eu, mythes-eu, libreoffice-help-eu, libreoffice-grammarcheck-eu
+Description: office productivity suite -- Basque language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Basque.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-fa
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-fa, ttf-farsiweb
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-fa | myspell-dictionary-fa, hyphen-fa, mythes-fa, libreoffice-help-fa, libreoffice-grammarcheck-fa
+Description: office productivity suite -- Farsi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Farsi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-fi
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-fi
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-fi | myspell-dictionary-fi | libreoffice-spellcheck-fi, hyphen-fi, mythes-fi, libreoffice-help-fi, libreoffice-grammarcheck-fi
+Description: office productivity suite -- Finnish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Finnish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-fr
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-fr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-fr | myspell-dictionary-fr, hyphen-fr, mythes-fr, libreoffice-help-fr, libreoffice-grammarcheck-fr
+Description: office productivity suite -- French language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ French.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ga
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ga
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ga | myspell-dictionary-ga, hyphen-ga, mythes-ga, libreoffice-help-ga, libreoffice-grammarcheck-ga
+Description: office productivity suite -- Gaelic language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Gaelic.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gl
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-gl
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-gl | myspell-dictionary-gl, hyphen-gl, mythes-gl, libreoffice-help-gl, libreoffice-grammarcheck-gl
+Description: office productivity suite -- Galician language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Galician.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gu
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-gu, ttf-gujarati-fonts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-gu | myspell-dictionary-gu, hyphen-gu, mythes-gu, libreoffice-help-gu, libreoffice-grammarcheck-gu
+Description: office productivity suite -- Gujarati language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Gujarati.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-he
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-he, culmus
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-he | myspell-dictionary-he, hyphen-he, mythes-he, libreoffice-help-he, libreoffice-grammarcheck-he
+Description: office productivity suite -- Hebrew language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Hebrew.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-hi
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hi
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-hi | myspell-dictionary-hi, hyphen-hi, mythes-hi, libreoffice-help-hi, libreoffice-grammarcheck-hi
+Description: office productivity suite -- Hindi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Hindi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-hr
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-hr | myspell-dictionary-hr, hyphen-hr, mythes-hr, libreoffice-help-hr, libreoffice-grammarcheck-hr
+Description: office productivity suite -- Croatian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Croatian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-hu
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hu
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-hu | myspell-dictionary-hu, hyphen-hu, mythes-hu, libreoffice-help-hu, libreoffice-grammarcheck-hu
+Description: office productivity suite -- Hungarian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Hungarian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-id
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-id
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-id | myspell-dictionary-id, hyphen-id, mythes-id, libreoffice-help-id, libreoffice-grammarcheck-id
+Description: office productivity suite -- Indonesian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Indonesian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-is
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-is
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-is | myspell-dictionary-is, hyphen-is, mythes-is, libreoffice-help-is, libreoffice-grammarcheck-is
+Description: office productivity suite -- Icelandic language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Icelandic.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-it
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-it
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-it | myspell-dictionary-it, hyphen-it, mythes-it, libreoffice-help-it, libreoffice-grammarcheck-it
+Description: office productivity suite -- Italian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Italian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ja
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ja
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ja | myspell-dictionary-ja, hyphen-ja, mythes-ja, libreoffice-help-ja, libreoffice-grammarcheck-ja
+Description: office productivity suite -- Japanese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Japanese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ka
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ka
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ka | myspell-dictionary-ka, hyphen-ka, mythes-ka, libreoffice-help-ka, libreoffice-grammarcheck-ka
+Description: office productivity suite -- Georgian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Georgian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-km
+Section: localization
+Architecture: all
+Depends: locales (>= 2.3.5-12) | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-km, ttf-khmeros
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-km | myspell-dictionary-km, hyphen-km, mythes-km, libreoffice-help-km, libreoffice-grammarcheck-km
+Description: office productivity suite -- Khmer language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Khmer.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ko
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ko
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ko | myspell-dictionary-ko, hyphen-ko, mythes-ko, libreoffice-help-ko, libreoffice-grammarcheck-ko
+Description: office productivity suite -- Korean language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Korean.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ku
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ku
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ku | myspell-dictionary-ku, hyphen-ku, mythes-ku, libreoffice-help-ku, libreoffice-grammarcheck-ku
+Description: office productivity suite -- Kurdish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Kurdish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-lt
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-lt
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-lt | myspell-dictionary-lt, hyphen-lt, mythes-lt, libreoffice-help-lt, libreoffice-grammarcheck-lt
+Description: office productivity suite -- Lithuanian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Lithuanian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-lv
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-lv
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-lv | myspell-dictionary-lv, hyphen-lv, mythes-lv, libreoffice-help-lv, libreoffice-grammarcheck-lv
+Description: office productivity suite -- Latvian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Latvian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-mk
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-mk
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-mk | myspell-dictionary-mk, hyphen-mk, mythes-mk, libreoffice-help-mk, libreoffice-grammarcheck-mk
+Description: office productivity suite -- Macedonian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Macedonian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-mn
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-mn
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-mn | myspell-dictionary-mn, hyphen-mn, mythes-mn, libreoffice-help-mn, libreoffice-grammarcheck-mn
+Description: office productivity suite -- Mongolian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Mongolian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ml
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ml, ttf-malayalam-fonts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ml | myspell-dictionary-ml, hyphen-ml, mythes-ml, libreoffice-help-ml, libreoffice-grammarcheck-ml
+Description: office productivity suite -- Malayalam language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Malayalam.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-mr
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-mr, ttf-devanagari-fonts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-mr | myspell-dictionary-mr, hyphen-mr, mythes-mr, libreoffice-help-mr, libreoffice-grammarcheck-mr
+Description: office productivity suite -- Marathi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Marathi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nb
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nb
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nb | myspell-dictionary-nb, hyphen-nb, mythes-nb, libreoffice-help-nb, libreoffice-grammarcheck-nb
+Description: office productivity suite -- Norwegian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Norwegian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ne
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ne, ttf-devanagari-fonts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ne | myspell-dictionary-ne, hyphen-ne, mythes-ne, libreoffice-help-ne, libreoffice-grammarcheck-ne
+Description: office productivity suite -- Nepalese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Nepalese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nl
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nl
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nl | myspell-dictionary-nl, hyphen-nl, mythes-nl, libreoffice-help-nl, libreoffice-grammarcheck-nl
+Description: office productivity suite -- Dutch language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Dutch.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nn
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nn
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nn | myspell-dictionary-nn, hyphen-nn, mythes-nn, libreoffice-help-nn, libreoffice-grammarcheck-nn
+Description: office productivity suite -- Norwegian_nynorsk language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Norwegian_nynorsk.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nr
+Section: localization
+Architecture: all
+Depends: locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1), ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nr | myspell-dictionary-nr, hyphen-nr, mythes-nr, libreoffice-help-nr, libreoffice-grammarcheck-nr
+Description: office productivity suite -- Ndebele language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Ndebele.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nso
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nso
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nso | myspell-dictionary-nso, hyphen-nso, mythes-nso, libreoffice-help-nso, libreoffice-grammarcheck-nso
+Description: office productivity suite -- Northern_sotho language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Northern_sotho.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-oc
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-oc
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-oc | myspell-dictionary-oc, hyphen-oc, mythes-oc, libreoffice-help-oc, libreoffice-grammarcheck-oc
+Description: office productivity suite -- Occitan language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Occitan.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-om
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-om
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-om | myspell-dictionary-om, hyphen-om, mythes-om, libreoffice-help-om, libreoffice-grammarcheck-om
+Description: office productivity suite -- Oromo language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Oromo.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-or
+Section: localization
+Architecture: all
+Depends: locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1), ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-or, ttf-oriya-fonts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-or | myspell-dictionary-or, hyphen-or, mythes-or, libreoffice-help-or, libreoffice-grammarcheck-or
+Description: office productivity suite -- Oriya language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Oriya.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pa-in
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pa, ttf-punjabi-fonts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-pa-in | myspell-dictionary-pa-in, hyphen-pa-in, mythes-pa-in, libreoffice-help-pa-in, libreoffice-grammarcheck-pa-in
+Description: office productivity suite -- Punjabi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Punjabi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pl
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pl
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-pl | myspell-dictionary-pl, hyphen-pl, mythes-pl, libreoffice-help-pl, libreoffice-grammarcheck-pl
+Description: office productivity suite -- Polish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Polish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pt
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pt
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-pt | myspell-dictionary-pt, hyphen-pt, mythes-pt, libreoffice-help-pt, libreoffice-grammarcheck-pt
+Description: office productivity suite -- Portuguese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Portuguese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pt-br
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pt
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-pt-br | myspell-dictionary-pt-br, hyphen-pt-br, mythes-pt-br, libreoffice-help-pt-br, libreoffice-grammarcheck-pt-br
+Description: office productivity suite -- Portuguese_brazilian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Portuguese_brazilian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ro
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ro
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ro | myspell-dictionary-ro, hyphen-ro, mythes-ro, libreoffice-help-ro, libreoffice-grammarcheck-ro
+Description: office productivity suite -- Romanian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Romanian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ru
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ru
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ru | myspell-dictionary-ru, hyphen-ru, mythes-ru, libreoffice-help-ru, libreoffice-grammarcheck-ru
+Description: office productivity suite -- Russian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Russian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-rw
+Section: localization
+Architecture: all
+Depends: locales (>= 2.3.6) | belocs-locales-data | locales-all (>= 2.3.6), ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-rw
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-rw | myspell-dictionary-rw, hyphen-rw, mythes-rw, libreoffice-help-rw, libreoffice-grammarcheck-rw
+Description: office productivity suite -- Kinarwanda language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Kinarwanda.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-si
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-si
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-si | myspell-dictionary-si, hyphen-si, mythes-si, libreoffice-help-si, libreoffice-grammarcheck-si
+Description: office productivity suite -- Sinhala language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Sinhala.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sk
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sk
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-sk | myspell-dictionary-sk, hyphen-sk, mythes-sk, libreoffice-help-sk, libreoffice-grammarcheck-sk
+Description: office productivity suite -- Slovak language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Slovak.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sl
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sl
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-sl | myspell-dictionary-sl, hyphen-sl, mythes-sl, libreoffice-help-sl, libreoffice-grammarcheck-sl
+Description: office productivity suite -- Slovenian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Slovenian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sr
+Section: localization
+Architecture: all
+Depends: locales (>= 2.3.6.ds1-5) | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-sr | myspell-dictionary-sr, hyphen-sr, mythes-sr, libreoffice-help-sr, libreoffice-grammarcheck-sr
+Description: office productivity suite -- Serbian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Serbian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ss
+Section: localization
+Architecture: all
+Depends: locales (>= 2.3.5-12) | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ss
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ss | myspell-dictionary-ss, hyphen-ss, mythes-ss, libreoffice-help-ss, libreoffice-grammarcheck-ss
+Description: office productivity suite -- Swazi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Swazi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-st
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-st
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-st | myspell-dictionary-st, hyphen-st, mythes-st, libreoffice-help-st, libreoffice-grammarcheck-st
+Description: office productivity suite -- Southern_sotho language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Southern_sotho.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sv
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sv
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-sv | myspell-dictionary-sv, hyphen-sv, mythes-sv, libreoffice-help-sv, libreoffice-grammarcheck-sv
+Description: office productivity suite -- Swedish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Swedish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ta
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ta, ttf-tamil-fonts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ta | myspell-dictionary-ta, hyphen-ta, mythes-ta, libreoffice-help-ta, libreoffice-grammarcheck-ta
+Description: office productivity suite -- Tamil language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Tamil.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-te
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-te, ttf-telugu-fonts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-te | myspell-dictionary-te, hyphen-te, mythes-te, libreoffice-help-te, libreoffice-grammarcheck-te
+Description: office productivity suite -- Telugu language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Telugu.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-tg
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-tg
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-tg | myspell-dictionary-tg, hyphen-tg, mythes-tg, libreoffice-help-tg, libreoffice-grammarcheck-tg
+Description: office productivity suite -- Tajik language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Tajik.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-th
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-th, fonts-thai-tlwg
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-th | myspell-dictionary-th, hyphen-th, mythes-th, libreoffice-help-th, libreoffice-grammarcheck-th
+Description: office productivity suite -- Thai language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Thai.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-tn
+Section: localization
+Architecture: all
+Depends: locales (>= 2.3.5-12) | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-tn
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-tn | myspell-dictionary-tn, hyphen-tn, mythes-tn, libreoffice-help-tn, libreoffice-grammarcheck-tn
+Description: office productivity suite -- Tswana language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Tswana.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-tr
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-tr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-tr | myspell-dictionary-tr | libreoffice-spellcheck-tr, hyphen-tr, mythes-tr, libreoffice-help-tr, libreoffice-grammarcheck-tr
+Description: office productivity suite -- Turkish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Turkish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ts
+Section: localization
+Architecture: all
+Depends: locales (>= 2.3.5-12) | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ts | myspell-dictionary-ts, hyphen-ts, mythes-ts, libreoffice-help-ts, libreoffice-grammarcheck-ts
+Description: office productivity suite -- Tsonga language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Tsonga.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ug
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ug
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ug | myspell-dictionary-ug, hyphen-ug, mythes-ug, libreoffice-help-ug, libreoffice-grammarcheck-ug
+Description: office productivity suite -- Uighur language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Uighur.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-uk
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-uk
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-uk | myspell-dictionary-uk, hyphen-uk, mythes-uk, libreoffice-help-uk, libreoffice-grammarcheck-uk
+Description: office productivity suite -- Ukrainian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Ukrainian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-uz
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-uz
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-uz | myspell-dictionary-uz, hyphen-uz, mythes-uz, libreoffice-help-uz, libreoffice-grammarcheck-uz
+Description: office productivity suite -- Uzbek language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Uzbek.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ve
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ve
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ve | myspell-dictionary-ve, hyphen-ve, mythes-ve, libreoffice-help-ve, libreoffice-grammarcheck-ve
+Description: office productivity suite -- Venda language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Venda.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-vi
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-vi
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-vi | myspell-dictionary-vi, hyphen-vi, mythes-vi, libreoffice-help-vi, libreoffice-grammarcheck-vi
+Description: office productivity suite -- Vietnamese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Vietnamese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-xh
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-xh
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-xh | myspell-dictionary-xh, hyphen-xh, mythes-xh, libreoffice-help-xh, libreoffice-grammarcheck-xh
+Description: office productivity suite -- Xhosa language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Xhosa.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-zh-cn
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zh
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-zh-cn | myspell-dictionary-zh-cn, hyphen-zh-cn, mythes-zh-cn, libreoffice-help-zh-cn, libreoffice-grammarcheck-zh-cn
+Description: office productivity suite -- Chinese_simplified language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Chinese_simplified.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-zh-tw
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zh
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-zh-tw | myspell-dictionary-zh-tw, hyphen-zh-tw, mythes-zh-tw, libreoffice-help-zh-tw, libreoffice-grammarcheck-zh-tw
+Description: office productivity suite -- Chinese_traditional language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Chinese_traditional.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-zu
+Section: localization
+Architecture: all
+Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zu
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-zu | myspell-dictionary-zu, hyphen-zu, mythes-zu, libreoffice-help-zu, libreoffice-grammarcheck-zu
+Description: office productivity suite -- Zulu language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Zulu.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-help-en-us
+Replaces: libreoffice-common (<< 1:3.0.0~dev300m28)
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-en, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-en, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- English_american help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ English_american.
+
+Package: libreoffice-help-ca
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ca, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-ca, libreoffice-l10n-ca, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Catalan help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Catalan.
+
+Package: libreoffice-help-cs
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-cs, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-cs, libreoffice-l10n-cs, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Czech help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Czech.
+
+Package: libreoffice-help-da
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-da, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-da, libreoffice-l10n-da, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Danish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Danish.
+
+Package: libreoffice-help-de
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-de, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-de, libreoffice-l10n-de, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- German help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ German.
+
+Package: libreoffice-help-dz
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-dz, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-dz, libreoffice-l10n-dz, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Dzongkha help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Dzongkha.
+
+Package: libreoffice-help-el
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-el, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-el, libreoffice-l10n-el, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Greek help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Greek.
+
+Package: libreoffice-help-en-gb
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-en, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-en, libreoffice-l10n-en-gb, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- English_british help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ English_british.
+
+Package: libreoffice-help-es
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-es, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-es, libreoffice-l10n-es, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Spanish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Spanish.
+
+Package: libreoffice-help-et
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-et, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-et, libreoffice-l10n-et, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Estonian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Estonian.
+
+Package: libreoffice-help-eu
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-eu, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-eu, libreoffice-l10n-eu, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Basque help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Basque.
+
+Package: libreoffice-help-fi
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-fi, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-fi, libreoffice-l10n-fi, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Finnish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Finnish.
+
+Package: libreoffice-help-fr
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-fr, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-fr, libreoffice-l10n-fr, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- French help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ French.
+
+Package: libreoffice-help-gl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-gl, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-gl, libreoffice-l10n-gl, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Galician help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Galician.
+
+Package: libreoffice-help-hi
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hi, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-hi, libreoffice-l10n-hi, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Hindi help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Hindi.
+
+Package: libreoffice-help-hu
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hu, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-hu, libreoffice-l10n-hu, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Hungarian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Hungarian.
+
+Package: libreoffice-help-it
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-it, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-it, libreoffice-l10n-it, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Italian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Italian.
+
+Package: libreoffice-help-ja
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ja, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-ja, libreoffice-l10n-ja, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Japanese help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Japanese.
+
+Package: libreoffice-help-km
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-km, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-km, libreoffice-l10n-km, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Khmer help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Khmer.
+
+Package: libreoffice-help-ko
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ko, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-ko, libreoffice-l10n-ko, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Korean help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Korean.
+
+Package: libreoffice-help-nl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nl, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-nl, libreoffice-l10n-nl, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Dutch help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Dutch.
+
+Package: libreoffice-help-om
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-om, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-om, libreoffice-l10n-om, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Oromo help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Oromo.
+
+Package: libreoffice-help-pl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pl, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-pl, libreoffice-l10n-pl, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Polish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Polish.
+
+Package: libreoffice-help-pt
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pt, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-pt, libreoffice-l10n-pt, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Portuguese help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Portuguese.
+
+Package: libreoffice-help-pt-br
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pt, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-pt, libreoffice-l10n-pt-br, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Portuguese_brazilian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Portuguese_brazilian.
+
+Package: libreoffice-help-ru
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ru, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-ru, libreoffice-l10n-ru, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Russian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Russian.
+
+Package: libreoffice-help-sk
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sk, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-sk, libreoffice-l10n-sk, libreoffice-help-cs, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Slovak help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Slovak.
+
+Package: libreoffice-help-sl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sl, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-sl, libreoffice-l10n-sl, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Slovenian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Slovenian.
+
+Package: libreoffice-help-sv
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sv, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-sv, libreoffice-l10n-sv, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Swedish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Swedish.
+
+Package: libreoffice-help-zh-cn
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zh, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-zh, libreoffice-l10n-zh-cn, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Chinese_simplified help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Chinese_simplified.
+
+Package: libreoffice-help-zh-tw
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zh, ${lucene-depends}, ${java-common-depends}
+Depends: libreoffice-writer | language-support-translations-zh, libreoffice-l10n-zh-tw, ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Chinese_traditional help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Chinese_traditional.
+
+Package: uno-libs3
+Section: libs
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: ure (<< 1.4+OOo3.0.0~beta2-1)
+Description: LibreOffice UNO runtime environment -- public shared libraries
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the public libraries:
+ - libuno_sal: System Abstraction Layer (C Interface)
+ - libuno_salhelpergcc3: additional C++ functionality for sal
+ - libuno_cppu: C++ UNO bridge (C Interface)
+ - libuno_cppuhelpergcc3: additionl C++ functionality for cppu
+ - libuno_purpenvhelpergcc3: "purpose environments" helper
+
+Package: uno-libs3-dbg
+Section: debug
+Priority: extra
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: uno-libs3 (= ${ure:Version}), ${misc:Depends}
+Replaces: ure-dbg (<< 1.4+OOo3.0.0~beta2-1)
+Description: LibreOffice UNO runtime environment -- public shared library debug symbols
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the (detached) debug symbols for the public libraries:
+ - libuno_sal: System Abstraction Layer (C Interface)
+ - libuno_salhelpergcc3: additional C++ functionality for sal
+ - libuno_cppu: C++ UNO bridge (C Interface)
+ - libuno_cppuhelpergcc3: additionl C++ functionality for cppu
+ - libuno_purpenvhelpergcc3: "purpose environments" helper
+
+Package: ure
+Section: libs
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: uno-libs3 (= ${ure:Version}), ${shlibs:Depends}, ${misc:Depends}
+Suggests: java5-runtime
+Conflicts: cli-uno-bridge (<< 1:3.0.0~dev300m22)
+Replaces: libreoffice-java-common (<< 1:3.0.0~dev300m12)
+Breaks: openoffice.org-core (<< 1:3.3~)
+Description: LibreOffice UNO runtime environment
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+
+Package: ure-dbg
+Section: debug
+Priority: extra
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: ure (= ${ure:Version}), uno-libs3-dbg (= ${ure:Version}), ${misc:Depends}
+Description: LibreOffice UNO runtime environment -- debug symbols
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the (detached) debug symbols for the URE.
+
+Package: libreoffice-gcj
+Architecture: hppa kfreebsd-amd64 kfreebsd-i386
+Section: java
+Depends: ${shlibs:Depends}, gcj-jre, libreoffice-core (= ${binary:Version}), libreoffice-java-common (= ${source:Version}), ${java:Depends}, ${java-gcj-depends}, ${misc:Depends}
+Enhances: libreoffice-writer, libreoffice-base
+Description: office productivity suite -- Java libraries for GIJ
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the .jars from libreoffice-java-common compiled to
+ native to make the Java features of LibreOffice faster when using gij.
+ .
+ This package has NO effect with Suns/Blackdowns/IBMs/etc. JDK.
+
+Package: libreoffice-ogltrans
+Section: graphics
+Priority: extra
+Architecture: alpha amd64 armhf hppa i386 ia64 powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: ${shlibs:Depends}, libreoffice-core, libreoffice-impress, libreoffice-common, ${misc:Depends}
+Enhances: libreoffice-impress
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: LibreOffice Impress extension for transitions using OpenGL
+ LibreOffice is a full-featured office productivity suite that provide
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the extension making LibreOffice able to use
+ OpenGL for impress transitions.
+
+Package: libreoffice-wiki-publisher
+Section: misc
+Architecture: all
+Pre-Depends: ${java-runtime-depends}
+Depends: ${mediawiki-jar-depends}, libreoffice-core (>= 1:3.4~), libreoffice-java-common, ${java:Depends}, ${misc:Depends}
+Enhances: libreoffice-writer
+Recommends: ${lucene-depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Suggests: mediawiki
+Description: LibreOffice extension for working with MediaWiki articles
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains an extension to create/edit/publish MediaWiki
+ articles with LibreOffice
+Homepage: http://extensions.services.openoffice.org/project/wikipublisher
+
+Package: libreoffice-report-builder
+Section: misc
+Architecture: all
+Pre-Depends: ${java-runtime-depends}
+Depends: ${report-builder-jar-depends}, libreoffice-report-builder-bin (>= ${base-version}), libreoffice-core, libreoffice-java-common, ${java:Depends}, ${misc:Depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Provides: libreoffice-reportdesigner
+Enhances: libreoffice-base
+Description: LibreOffice extension for building database reports
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the report builder extension:
+ "Create with the Sun Report Builder stylish, smart-looking database reports.
+ The flexible report editor can define group and page headers as well as
+ group and page footers and even calculation fields are available to
+ accomplish complex database reports."
+Homepage: http://extensions.services.openoffice.org/project/reportdesign
+
+Package: libreoffice-report-builder-bin
+Section: misc
+Architecture: alpha amd64 armel armhf i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc
+Depends: ${shlibs:Depends}, libreoffice-core, libreoffice-base, ${misc:Depends}
+Description: LibreOffice extension for building database reports -- libraries
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some architecture-dependent support libraries
+ (librpt*.so) for the report builder extension.
+
+Package: libreoffice-presentation-minimizer
+Section: misc
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: ${shlibs:Depends}, libreoffice-core, libreoffice-impress, ${misc:Depends}
+Enhances: libreoffice-impress
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Description: LibreOffice extension for size-efficient presentations
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation minimizer extension:
+ "The Sun Presentation Minimizer is used to reduce the file size of the
+ current presentation. Images will be compressed, and data that is no longer
+ needed will be removed.
+ The Sun Presentation Minimizer can optimize the image quality size.
+ Presentations designed for screen or projector do not require the same high
+ quality as presentations designed for print."
+Homepage: http://extensions.services.openoffice.org/project/PresentationMinimizer
+
+Package: libreoffice-presenter-console
+Section: misc
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Depends: ${shlibs:Depends}, libreoffice-core, libreoffice-impress, ${misc:Depends}
+Enhances: libreoffice-impress
+Description: LibreOffice Impress extension for a separate presenter's console
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Presenter Console extension:
+ .
+ The Presenter Console for Impress is a feature that aids a presenter during a
+ slide show. It provides information on a second screen, that typically is not
+ visible to the audience. This includes
+ .
+ * a view to the currently displayed slide (for when the presenter faces the
+ audience and can not see the primary screen)
+ * a preview of the next slide or next effect
+ * the notes of the current slide
+ * the current time and/or the elapsed time
+ * navigation buttons for going to the previous/next slide
+Homepage: http://extensions.services.openoffice.org/project/presenter-screen
+
+Package: libreoffice-pdfimport
+Section: misc
+Priority: extra
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: ${shlibs:Depends}, libreoffice-core, ${misc:Depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Description: LibreOffice extension for importing PDF documents
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains an extension to open PDF documents with
+ LibreOffice Draw.
+Homepage: http://extensions.services.openoffice.org/project/pdfimport
+
+Package: fonts-opensymbol
+Section: fonts
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: fontconfig
+Replaces: ttf-opensymbol
+Provides: ttf-opensymbol
+Description: OpenSymbol TrueType font
+ This package contains the OpenSymbol TrueType font included in
+ LibreOffice. This font contains symbols (like fonts as Wingdings(tm)),
+ bullets (needed for bullets in LibreOffice) and non-latin character
+
+Package: ttf-opensymbol
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: fonts-opensymbol
+Description: transitional package for fonts-opensymbol
+ This package is a transitiional package for font-opensymbol.
+ It can be removed when fonts-opensymbol is installed.
+
+Package: libreoffice-dbg
+Section: debug
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Priority: extra
+Depends: libreoffice-core (= ${binary:Version}) | libreoffice-gcj (= ${binary:Version}) | libreoffice-dev (= ${binary:Version}) | libreoffice-gnome (= ${binary:Version}) | libreoffice-kde (= ${binary:Version}) | libreoffice-calc (= ${binary:Version}) | libreoffice-base-core (= ${binary:Version}) | libreoffice-base (= ${binary:Version}) | libreoffice-impress (= ${binary:Version}) | libreoffice-filter-binfilter (= ${binary:Version}) | libreoffice-draw (= ${binary:Version}) | libreoffice-writer (= ${binary:Version}) | python-uno (= ${binary:Version}) | cli-uno-bridge (= ${binary:Version}) | mozilla-libreoffice (= ${binary:Version}) | libreoffice-ogltrans (= ${binary:Version}), ${misc:Depends}
+Recommends: ure-dbg
+Suggests: ${dbg-dbg-suggests}
+Pre-Depends: dpkg (>= 1.15.6)
+Description: office productivity suite -- debug symbols
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the debug symbols of all LibreOffice and
+ LibreOffice SDK components.
+
+Package: libreoffice-dev
+Section: devel
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Recommends: dmake, g++, ${java-runtime-depends}, ${java-common-depends}
+Suggests: libreoffice-dev-doc, libmythes-dev, c-shell
+Description: office productivity suite -- SDK
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the files needed to build plugins/add-ons for
+ LibreOffice (includes, IDL files, build tools, ...). It also contains
+ the zipped source of the UNO Java libraries for use in IDEs like eclipse.
+
+Package: libreoffice-dev-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: www-browser
+Suggests: libreoffice-dtd-officedocument1.0
+Conflicts: openoffice.org-dev-doc
+Description: office productivity suite -- SDK documentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the documentation of the LibreOffice SDK:
+ .
+ * C++/Java API reference
+ * IDL reference
+ * C++/Java/Basic examples
+ .
+ It also contains the gsicheck utility.
+
+Package: libreoffice-kde
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Recommends: ${kde-iconset-dep}
+Suggests: konqueror, kmail, libreoffice-kab
+Section: kde
+Enhances: libreoffice
+Replaces: openoffice.org-kde (<< 1:3.3.0~), libreoffice-core (= 1:3.5.0~beta2-1)
+Description: office productivity suite -- KDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the KDE plugin for drawing OOo's widgets with
+ KDE/Qt and a KDEish File Picker when running under KDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-kab: KDE Addressbook support
+
+Package: libreoffice-sdbc-postgresql
+Section: misc
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: ${shlibs:Depends}, libreoffice-core (>= 1:3.5.0~beta), ${misc:Depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Suggests: postgresql (>= 8.4)
+Description: PostgreSQL SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The PostgreSQL SDBC Driver allows one to use the PostgreSQL database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+Homepage: http://wiki.documentfoundation.org/PostgreSQL-SDBC
+
+Package: libreoffice-mysql-connector
+Section: misc
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: ${shlibs:Depends}, libreoffice-core, ${misc:Depends}
+Suggests: mysql-server (>= 5.1)
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Homepage: http://extensions.services.openoffice.org/en/project/mysql_connector
+Description: MySQL Connector extension for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The MySQL Connector extension allows one to use the MySQL database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+
+Package: libreoffice-evolution
+Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Section: gnome
+Depends: libreoffice-core (= ${binary:Version}), libreoffice-common (>= 1:3.4.0~), libreoffice-base, ${shlibs:Depends}, ${libebook-dep}, ${misc:Depends}
+Recommends: evolution
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Replaces: libreoffice-common (<< 1:3.3.3-2~)
+Description: office productivity suite -- Evolution addressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access Evolution address books.
+ You need to install evolution separately.
+
+Package: libreoffice-filter-binfilter
+Section: misc
+Architecture: alpha amd64 hppa i386 ia64 powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core (= ${binary:Version}), libreoffice-common (>= 1:3.4.0~), ${shlibs:Depends}, ${misc:Depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- legacy filters (e.g. StarOffice 5.2)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "binfilters", legacy filters for
+ - the old StarOffice 5.2 formats
+ - StarWriter 1.0/2.0
+ - StarWriter/DOS
+ - *Writer* filters for
+ + Excel
+ + Lotus
+
--- /dev/null
+Package: libreofficeVER-filter-binfilter
+Section: misc
+Architecture: %OOO_BINFILTER_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-common (>= 1:3.4.0~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- legacy filters (e.g. StarOffice 5.2)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "binfilters", legacy filters for
+ - the old StarOffice 5.2 formats
+ - StarWriter 1.0/2.0
+ - StarWriter/DOS
+ - *Writer* filters for
+ + Excel
+ + Lotus
+
--- /dev/null
+Package: libreofficeVER-dbg
+Section: debug
+Architecture: %OOO_ARCHS%
+Priority: extra
+Depends: libreofficeVER-core (= ${binary:Version}) | libreofficeVER-gcj (= ${binary:Version}) | libreofficeVER-dev (= ${binary:Version}) | libreofficeVER-gnome (= ${binary:Version}) | libreofficeVER-kde (= ${binary:Version}) | libreofficeVER-calc (= ${binary:Version}) | libreofficeVER-base-core (= ${binary:Version}) | libreofficeVER-base (= ${binary:Version}) | libreofficeVER-impress (= ${binary:Version}) | libreofficeVER-filter-binfilter (= ${binary:Version}) | libreofficeVER-draw (= ${binary:Version}) | libreofficeVER-writer (= ${binary:Version}) | python-uno (= ${binary:Version}) | cli-uno-bridge (= ${binary:Version}) | mozilla-libreofficeVER (= ${binary:Version}) | libreofficeVER-ogltrans (= ${binary:Version}), ${misc:Depends}
+Recommends: ure-dbg
+Suggests: ${dbg-dbg-suggests}
+Pre-Depends: dpkg (>= 1.15.6)
+Description: office productivity suite -- debug symbols
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the debug symbols of all LibreOffice and
+ LibreOffice SDK components.
+
--- /dev/null
+Package: libreofficeVER-evolution
+Architecture: %OOO_BASE_ARCHS%
+Section: gnome
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-common (>= 1:3.4.0~),
+ libreofficeVER-base,
+ ${shlibs:Depends},
+ ${libebook-dep},
+ ${misc:Depends}
+Recommends: evolution
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Replaces: libreofficeVER-common (<< 1:3.3.3-2~)
+Description: office productivity suite -- Evolution addressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access Evolution address books.
+ You need to install evolution separately.
+
--- /dev/null
+Package: fonts-opensymbol
+Section: fonts
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: fontconfig
+Replaces: ttf-opensymbol
+Provides: ttf-opensymbol
+Description: OpenSymbol TrueType font
+ This package contains the OpenSymbol TrueType font included in
+ LibreOffice. This font contains symbols (like fonts as Wingdings(tm)),
+ bullets (needed for bullets in LibreOffice) and non-latin character
+
+Package: ttf-opensymbol
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: fonts-opensymbol
+Description: transitional package for fonts-opensymbol
+ This package is a transitiional package for font-opensymbol.
+ It can be removed when fonts-opensymbol is installed.
+
--- /dev/null
+Package: libreofficeVER-gcj
+Architecture: %OOO_GCJ_ARCHS%
+Section: java
+Depends: ${shlibs:Depends},
+ gcj-jre,
+ libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-java-common (= ${source:Version}),
+ ${java:Depends},
+ ${java-gcj-depends},
+ ${misc:Depends}
+Enhances: libreofficeVER-writer, libreofficeVER-base
+Description: office productivity suite -- Java libraries for GIJ
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the .jars from libreofficeVER-java-common compiled to
+ native to make the Java features of LibreOffice faster when using gij.
+ .
+ This package has NO effect with Suns/Blackdowns/IBMs/etc. JDK.
+
--- /dev/null
+Package: libreofficeVER-help-@LCODE@
+Architecture: all
+Section: doc
+Recommends: libreofficeVER-core (>> ${base-version}) | language-support-translations-@CCODE@, ${lucene-depends}, ${java-common-depends}
+Depends: libreofficeVER-writer | language-support-translations-@CCODE@, libreofficeVER-l10n-@LCODE@,
+ ${misc:Depends}
+Conflicts: ${lucene-conflicts}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- @LNAME@ help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ @LNAME@.
+
--- /dev/null
+Source: libreofficeVER
+Section: editors
+Priority: optional
+Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
+Uploaders: Rene Engelhard <rene@debian.org>
+Build-Depends: dpkg-dev (>= 1.16.1),
+ lsb-release,
+ bzip2,
+ bison,
+ flex | flex-old,
+ libxaw7-dev,
+ unzip,
+ zip,
+ autoconf,
+ automake,
+ sharutils,
+ pkg-config,
+ libfontconfig1-dev,
+ libc0.1 (>= 2.10.2-7) [kfreebsd-i386 kfreebsd-amd64],
+ zlib1g-dev,
+ libfreetype6-dev,
+ libx11-dev,
+ libsm-dev,
+ libxt-dev,
+ libxext-dev,
+ libxtst-dev,
+ libice-dev,
+ libcups2-dev,
+ libarchive-zip-perl,
+ fastjar,
+ xsltproc,
+ libxkbfile-dev,
+ libxinerama-dev,
+ x11proto-render-dev,
+ libxml-parser-perl,
+ gperf,
+ po-debconf,
+ bc,
+ wget | curl
+ %BUILD_DEPS%
+Build-Depends-Indep: fdupes, xml-core, imagemagick %BUILD_DEPS_INDEP%
+Build-Conflicts: libcairo2 (= 1.4.8-1), libxul-dev (= 1.8.0.13~pre070720-0etch1), gjdoc (= 0.7.8-2), libc6-dev (= 2.6.1-3) [i386 amd64], libc6-dev (= 2.6.1-4) [i386 amd64], libc0.1-dev (= 2.13-26) [kfreebsd-i386 kfreebsd-amd64], nvidia-glx-dev, nvidia-glx-legacy-dev, gcj-4.2 (= 4.2.2-6), flex (= 2.5.34-1) [amd64], libboost1.39-dev (<< 1.39.0-2), graphicsmagick-imagemagick-compat (<< 1.3.9~), qt3-dev-tools, ant (= 1.8.0-1) [%OOO_GCJ_JDK_ARCHS%], ant (= 1.8.0-2) [%OOO_GCJ_JDK_ARCHS%], ant (= 1.8.0-3) [%OOO_GCJ_JDK_ARCHS%], g++-4.6 (= 4.6.1-10), g++-4.6 (= 4.6.1-11), gcc (>= 4:4.7~) [!i386 !amd64 !kfreebsd-i386 !kfreebsd-amd64], g++ (>= 4:4.7~) [!i386 !amd64 !kfreebsd-i386 !kfreebsd-amd64]
+Standards-Version: 3.9.1
+XS-Python-Version: @PYTHON_VERSION@
+Vcs-Git: https://alioth.debian.org/anonscm/git/pkg-openoffice/libreoffice.git
+Vcs-Browser: http://git.debian.org/?p=pkg-openoffice/libreoffice.git;a=summary
+Bugs: @BUGS@
+Homepage: http://www.libreoffice.org
+
+Package: libreofficeVER
+Architecture: %OOO_ARCHS%
+Section: metapackages
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-writer,
+ libreofficeVER-calc,
+ libreofficeVER-impress,
+ libreofficeVER-draw,
+ libreofficeVER-math,
+ libreofficeVER-base%OOO_NO_BASE_ARCHS%,
+ libreofficeVER-report-builder-bin%OOO_NO_REPORTDESIGN_ARCHS%,
+ ttf-dejavu,
+ ttf-sil-gentium-basic,
+ libreofficeVER-filter-mobiledev,
+ ${lucene-depends},
+ ${java-common-depends},
+ ${misc:Depends}
+Recommends: ttf-liberation | ttf-mscorefonts-installer, libpaper-utils
+Suggests: hunspell-dictionary,
+ myspell-dictionary,
+ libreofficeVER-help-${help-l10n-virtual-version},
+ libreofficeVER-l10n-${help-l10n-virtual-version},
+ unixodbc,
+ cups-bsd,
+ libsane,
+ hyphen-hyphenation-patterns,
+ mythes-thesaurus,
+ libreoffice-grammarcheck,
+ libxrender1,
+ libgl1,
+ libreofficeVER-gnome,
+ iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser,
+ ${java-runtime-depends},
+ openclipart-libreoffice,
+ pstoedit,
+ imagemagick | graphicsmagick-imagemagick-compat,
+ ${gstreamer-plugins-suggests},
+ ${libldap-suggests},
+ ${ooo-binfilter-dep},
+ ${ooo-officebean-dep}
+Description: office productivity suite
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This metapackage installs all components of libreoffice:
+ * libreofficeVER-writer: Word processor
+ * libreofficeVER-calc: Spreadsheet
+ * libreofficeVER-impress: Presentation
+ * libreofficeVER-draw: Drawing
+ * libreofficeVER-base: Database
+ * libreofficeVER-math: Equation editor
+ * libreofficeVER-filter-mobiledev: Mobile Devices filters
+ .
+ You can extend the functionality of LibreOffice by installing these
+ packages:
+ * hunspell-*/myspell-*: Hunspell/Myspell dictionaries
+ for use with LibreOffice
+ * libreofficeVER-l10n-*: UI interface translation
+ * libreofficeVER-help-*: User help
+ * mythes-*: Thesauri for the use with LibreOffice
+ * hyphen-*: Hyphenation patterns for LibreOffice
+ * libreofficeVER-gtk: Gtk UI Plugin, GNOME File Picker support,
+ QuickStarter for GNOMEs notification are
+ * libreofficeVER-gnome: GNOME VFS, GConf backend
+ * unixodbc: ODBC database support
+ * cups-bsd: Allows LibreOffice to detect your CUPS printer queues
+ automatically
+ * libsane: Use your sane-supported scanner with LibreOffice
+ * libxrender1: Speed up display by using Xrender library
+ * libgl1: OpenGL support
+ * openclipart-libreoffice: Open Clip Art Gallery with LibreOffice index
+ files
+ * iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser:
+ Mozilla profile with Certificates needed for XML Security...
+ * openjdk-6-jre | gcj-jre | java5-runtime:
+ Java Runtime Environment for use with LibreOffice
+ * pstoedit / imagemagick: helper tools for EPS thumbnails
+ * gstreamer0.10-plugins-*: GStreamer plugins for use with LibreOffices
+ media backend
+ * libpaper-utils: papersize detection support via paperconf
+ * libreofficeVER-filter-binfilter: legacy filters (e.g. StarOffice 5.2)
+
+Package: libreofficeVER-l10n-za
+Section: metapackages
+Architecture: all
+Depends: libreofficeVER-l10n-af, libreofficeVER-l10n-en-za, libreofficeVER-l10n-nr, libreofficeVER-l10n-nso, libreofficeVER-l10n-ss, libreofficeVER-l10n-st, libreofficeVER-l10n-tn, libreofficeVER-l10n-ts, libreofficeVER-l10n-ve, libreofficeVER-l10n-xh, libreofficeVER-l10n-zu,
+ ${misc:Depends}
+Description: office productivity suite -- South African language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all 11 South
+ African languages.
+
+Package: libreofficeVER-l10n-in
+Section: metapackages
+Architecture: all
+Depends: libreofficeVER-l10n-as, libreofficeVER-l10n-bn, libreofficeVER-l10n-gu, libreofficeVER-l10n-hi, libreofficeVER-l10n-ml, libreofficeVER-l10n-mr, libreofficeVER-l10n-or, libreofficeVER-l10n-pa-in, libreofficeVER-l10n-ta, libreofficeVER-l10n-te,
+ ${misc:Depends}
+Recommends: ttf-indic-fonts
+Description: office productivity suite -- Indic language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all available
+ indic languages.
+
+Package: libreofficeVER-core
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-common (>> ${base-version}),
+ fonts-opensymbol,
+ ${shlibs:Depends},
+ fontconfig,
+ ${misc:Depends}
+Pre-Depends: ure (>= 1.5.1+OOo3.1.1-15)
+Conflicts: libreofficeVER-unbundled,
+ libreofficeVER-calc (<< ${binary:Version}),
+ libreofficeVER-writer (<< ${binary:Version}),
+ libreofficeVER-impress (<< ${binary:Version}),
+ libreofficeVER-draw (<< ${binary:Version}),
+ libreofficeVER-base (<< ${binary:Version}),
+ libreofficeVER-gtk (<< ${binary:Version}),
+ libreofficeVER-gnome (<< ${binary:Version}),
+ libreofficeVER-kde (<< ${binary:Version}),
+ libreofficeVER-evolution (<< ${binary:Version}),
+ libreofficeVER-filter-so52 (<< ${binary:Version}),
+ libreofficeVER-officebean (<< ${binary:Version}),
+ libreofficeVER-dev (<< ${binary:Version}),
+ libreoffice-style-crystal (<< 1:3.3.0-1),
+ libreoffice-style-oxygen (<< 1:3.3.0-1),
+ libreoffice-style-tango (<< 1:3.3.0-1),
+ libreoffice-style-hicontrast (<< 1:3.3.0-1),
+ libreoffice-style-galaxy (<< 1:3.3.0-1),
+ libreoffice-style-andromeda (<< 1:3.3.0-1),
+ libcairo2 (= 1.4.8-1),
+ libicu38 (= 3.8~d01-1),
+ cli-uno-bridge (<< 1:3.0.0~dev300m22),
+ cacao-oj6-jre,
+ mozilla-plugin-vlc (<< 1.0)
+Breaks: myspell-ru (<< 0.99g5-8.1), myspell-lv (<< 0.7.3-3.1), myspell-et (<< 1:20030606-12.1), myspell-fi (<< 0.7-17.2), myspell-cs-cz (<< 20040229-4.1), myspell-el-gr (<< 0.3-1.1), myspell-nn (<< 2.0.10-3.1), myspell-nb (<< 2.0.10-3.1), hunspell-ar (<< 0.0.0+20080110-1.1), myspell-hu (<< 0.99.4-1.2), hunspell-gl-es (<< 2.2a-6), myspell-gv (<< 0.50-8), myspell-en-au (<< 2.1-5), myspell-fa (<< 0.20070816-2), hunspell-uz (<< 0.6-3.1), hunspell-ko (<< 0.3.3-1), hunspell-se (<< 1.0~beta6.20081222-1.1), hunspell-de-med (<< 20090825-1), hunspell-en-us (<< 20070829-3), myspell-sv-se (<< 1.3.8-6-2.2), myspell-sk (<< 0.5.5a-2.1), myspell-fo (<< 0.2.36-3), myspell-nl (<< 1:1.10-3), myspell-pt-br (<< 2009.03.30-1.1), myspell-pl (<< 20090830-1), myspell-pt-pt (<< 20090309-1.1), myspell-ga (<< 2.0-19), myspell-gd (<< 0.50-7), myspell-ku (<< 0.20.0-1.1), myspell-hr (<< 20060617-2), myspell-fr-gut (<< 1:1.0-26.1), myspell-eo (<< 2.1.2000.02.25-41), myspell-de-de-oldspell (<< 1:2-25.1), myspell-da (<< 1.6.18-1.1), myspell-es (<< 1.10-7), myspell-de-at (<< 20071211-2), myspell-de-ch (<< 20071211-2), myspell-de-de (<< 20071211-2), hunspell-de-at (<< 20071211-2), hunspell-de-ch (<< 20071211-2), hunspell-de-de (<< 20071211-2), myspell-ca (<< 0.6-8), myspell-tl (<< 0.4-0-5), myspell-ne (<< 1.0-4.1), myspell-fr (<< 1.4-25), myspell-hy (<< 0.10.1-1.1), myspell-en-us (<< 1:3.1.0-3), myspell-en-gb (<< 1:3.1.0-3), myspell-en-za (<< 1:3.1.0-3), myspell-af (<< 1:3.1.0-3), myspell-it (<< 1:3.1.0-3), myspell-sw (<< 1:3.1.0-3), myspell-th (<< 1:3.1.0-3), hunspell-en-ca (<< 1:3.1.0-3), hunspell-ne (<< 1:3.1.0-3), hunspell-da (<< 1:3.1.0-3), hunspell-fr (<< 1:3.1.0-3), hunspell-vi (<< 1:3.1.0-3), hunspell-hu (<< 1:3.1.0-3), hunspell-sr (<< 1:3.1.0-3), hunspell-sh (<< 1:3.1.0-3), myspell-lv (<< 0.7.3-3.1), myspell-et (<< 1:20030606-12.1), myspell-nn (<< 2.0.10-3.1), myspell-nb (<< 2.0.10-3.1), libreoffice-filter-binfilter (<< 1:3.4.1~), libreoffice-evolution (<< 1:3.4.1~), libreoffice-kab (<< 1:3.4.1~), libreoffice-sdbc-postgresql (<< 0.8.1~), mozilla-libreoffice (<< 1:3.5.0~beta~)
+Provides: libreofficeVER-bundled
+Replaces: libreofficeVER-calc (<< 1:3.3.2-5)
+Description: office productivity suite -- arch-dependent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-dependent core files of
+ LibreOffice. See the libreofficeVER package for more information.
+
+Package: libreofficeVER-common
+Architecture: all
+Pre-Depends: dpkg (>= 1.15.7.2~)
+Depends: libreofficeVER-style-default | libreofficeVER-style,
+ ${misc:Depends},
+ ure
+Suggests: libreofficeVER-style-hicontrast,
+ libreofficeVER-style-tango,
+ libreofficeVER-style-crystal,
+ libreofficeVER-style-oxygen
+Recommends: xfonts-mathml,
+ ${textcat-data-recommends}
+Conflicts: libtextcat-data (<< 2.2-8),
+ broffice,
+ openoffice.org-common (<< 1:3.3.0~)
+Provides: libreoffice-l10n-en-us
+Breaks: libreofficeVER-style-crystal (<< 1:${oover}~),
+ libreofficeVER-style-oxygen (<< 1:${oover}~),
+ libreofficeVER-style-industrial,
+ libreofficeVER-style-tango (<< 1:${oover}~),
+ libreofficeVER-style-hicontrast (<< 1:${oover}~),
+ libreofficeVER-style-galaxy (<< 1:${oover}~),
+ libreofficeVER-style-andromeda (<< 1:${oover}~),
+ libreofficeVER-core (<< 1:${oover}~),
+ libreofficeVER-style-crystal (>= 1:${next-oover}~),
+ libreofficeVER-style-oxygen (>= 1:${next-oover}~),
+ libreofficeVER-style-tango (>= 1:${next-oover}~),
+ libreofficeVER-style-hicontrast (>= 1:${next-oover}~),
+ libreofficeVER-style-galaxy (>= 1:${next-oover}~),
+ libreofficeVER-core (>= 1:${next-oover}~)
+Replaces: openoffice.org-common (<< 1:3.3.0~)
+Description: office productivity suite -- arch-independent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ LibreOffice.
+
+Package: libreofficeVER-java-common
+Architecture: all
+Depends: libreofficeVER-common,
+ ${java:Depends},
+ ${misc:Depends}
+Description: office productivity suite -- arch-independent Java support files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ the Java support for LibreOffice (Java classes, scripts, config snippets).
+
+Package: libreofficeVER-writer
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-base-core (= ${binary:Version})%OOO_NO_BASE_ARCHS%,
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ${ooo-binfilter-dep}, ${java-runtime-depends}, ${java-common-depends}, libreofficeVER-emailmerge, libreofficeVER-math
+Replaces: libreofficeVER-core (<< 1:3.3.2-5)
+Suggests: libreofficeVER-gcj,
+ libreofficeVER-base
+Description: office productivity suite -- word processor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the wordprocessor component for LibreOffice.
+
+Package: libreofficeVER-calc
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-base-core (= ${binary:Version})%OOO_NO_BASE_ARCHS%,
+ ${shlibs:Depends},
+ ${lpsolve-dep},
+ ${misc:Depends}
+Description: office productivity suite -- spreadsheet
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the spreadsheet component for LibreOffice.
+
+Package: libreofficeVER-impress
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-draw (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Description: office productivity suite -- presentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation component for LibreOffice.
+
+Package: libreofficeVER-draw
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Description: office productivity suite -- drawing
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the drawing component for LibreOffice.
+
+Package: libreofficeVER-math
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends},
+ fonts-opensymbol
+Description: office productivity suite -- equation editor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the equation editor component for LibreOffice.
+
+Package: libreofficeVER-base-core
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Replaces: libreofficeVER-base (<< 1:3.5.3~rc2-1)
+Suggests: libreofficeVER-base
+Description: office productivity suite -- shared library
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains libdba, a common library of the LibreOffice
+ suite used by Base, Writer and Calc.
+ .
+ If you need full Base functionality (or actual database drivers), please
+ install libreofficeVER-base.
+
+Package: libreofficeVER-base
+Architecture: %OOO_BASE_ARCHS%
+Section: database
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-base-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${java-runtime-depends},
+ ${java:Depends},
+ ${java-common-depends},
+ ${misc:Depends}
+Suggests: unixodbc,
+ libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | mdbtools,
+ libmysql-java | libpg-java | libjtds-java,
+ libreofficeVER-gcj,
+ libreofficeVER-report-builder
+Description: office productivity suite -- database
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database component for LibreOffice.
+ .
+ You can extend the functionality of LibreOffice Base by installing these
+ packages:
+ .
+ * unixodbc: ODBC database support
+ * libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | mdbtools: ODBC
+ drivers for:
+ - MySQL
+ - PostgreSQL
+ - SQLite
+ - MS SQL / Sybase SQL
+ - *.mdb (JET / MS Access)
+ * libmysql-java | libpg-java | libjtds-java: JDBC Drivers
+ for:
+ - MySQL
+ - PostgreSQL
+ - MS SQL Server and Sybase
+
+Package: libreofficeVER-style-crystal
+Architecture: all
+Depends: ${misc:Depends}, libreofficeVER-core
+Suggests: kde-icons-crystal, crystalcursors
+Provides: libreofficeVER-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Crystal symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "crystal" symbol style, default style for KDE 3.
+
+Package: libreofficeVER-style-oxygen
+Architecture: all
+Depends: ${misc:Depends}, libreofficeVER-core
+Suggests: kde-icons-oxygen, oxygencursors
+Provides: libreofficeVER-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Oxygen symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "oxygen" symbol style, default style for KDE 4.
+
+Package: libreofficeVER-style-tango
+Architecture: all
+Depends: ${misc:Depends}, libreofficeVER-core
+Suggests: tango-icon-theme
+Provides: libreofficeVER-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Tango symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "tango" symbol style, default style
+ for GTK+/Gnome.
+
+Package: libreofficeVER-style-hicontrast
+Architecture: all
+Depends: ${misc:Depends}, libreofficeVER-core
+Suggests: gtk2-engines
+Provides: libreofficeVER-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Hicontrast symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "hicontrast" symbol style, needs to be manually
+ enabled in the LibreOffice option menu.
+
+Package: libreofficeVER-style-galaxy
+Architecture: all
+Depends: ${misc:Depends}, libreofficeVER-core
+Provides: libreofficeVER-style-default, libreofficeVER-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Galaxy (Default) symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "Galaxy" symbol style from Sun, normally used on
+ MS Windows (tm) and when not using GNOME or KDE, needs to be manually
+ enabled in the LibreOffice option menu.
+
+Package: libreofficeVER-gtk
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: libreofficeVER-style-tango
+Section: gnome
+Enhances: libreofficeVER
+Conflicts: libgtk2.0-0 (= 2.12.10-1) [amd64]
+Description: office productivity suite -- GTK+ integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ and a Gtk/GNOMEish File Picker and print dialog when running
+ under GNOME. It also contains a QuickStarter for the "notification area".
+
+Package: libreofficeVER-gtk3
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: libreofficeVER-style-tango
+Section: gnome
+Enhances: libreofficeVER
+Description: office productivity suite -- GTK+ 3.0 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ 3.0 and Gtk/GNOMEish print dialog when running under GNOME.
+
+Package: libreofficeVER-gnome
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-gtk,
+ gconf2,
+ ${shlibs:Depends},
+ ${misc:Depends}
+Suggests: libreofficeVER-evolution
+Section: gnome
+Enhances: libreofficeVER
+Provides: libreoffice-gtk-gnome
+Description: office productivity suite -- GNOME integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the GNOME VFS support and a GConf backend.
+ .
+ You can extend the functionality of this by installing these packages:
+ .
+ * libreofficeVER-evolution: Evolution addressbook support
+ * evolution
+
+Package: libreofficeVER-emailmerge
+Architecture: all
+Depends: ${python:Depends}, python-uno | python3-uno, libreofficeVER-core, ${misc:Depends}
+Enhances: libreofficeVER-writer
+Replaces: python-uno (<< 1:2.4.1-5)
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- email mail merge
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains a component which allows LibreOffice to "mail merge"
+ to E-Mail.
+
+Package: python-uno
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Section: python
+Architecture: %OOO_ARCHS%
+Enhances: libreofficeVER
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${python:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Conflicts: python3-uno, libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Description: Python-UNO bridge
+ The Python-UNO bridge allows use of the standard LibreOffice API
+ with the Python scripting language. It additionally allows
+ others to develop UNO components in Python, thus Python UNO components
+ may be run within the LibreOffice process and can be called from C++
+ or the built in StarBasic scripting language.
+Homepage: http://udk.openoffice.org/python/python-bridge.html
+
+Package: python3-uno
+Section: python
+Architecture: %OOO_ARCHS%
+Enhances: libreofficeVER
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${python3:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Conflicts: python-uno
+Description: Python-UNO bridge
+ The Python-UNO bridge allows use of the standard LibreOffice API
+ with the Python scripting language. It additionally allows
+ others to develop UNO components in Python, thus Python UNO components
+ may be run within the LibreOffice process and can be called from C++
+ or the built in StarBasic scripting language.
+Homepage: http://udk.openoffice.org/python/python-bridge.html
+
+Package: libreofficeVER-officebean
+Architecture: %OOO_JAVA_ARCHS%
+Section: java
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${java-runtime-depends},
+ ${java-common-depends},
+ ${java:Depends},
+ ${misc:Depends}
+Description: office productivity suite -- Java bean
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the LibreOffice Office Bean for embedding
+ LibreOffice in custom Java applications.
+
+Package: libreofficeVER-filter-mobiledev
+Section: misc
+Architecture: all
+Depends: ${java-runtime-depends},
+ ${java-common-depends},
+ ${java:Depends},
+ ${misc:Depends}
+Breaks: libreofficeVER-core (<< 1:3.5~)
+Description: office productivity suite -- mobile devices filters
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the filters for Mobile Devices:
+ * AportisDoc (Palm)
+ * PocketWord
+ * PocketExcel
+
+Package: openoffice.org-dtd-officedocument1.0
+Section: text
+Priority: extra
+Depends: xml-core,
+ ${misc:Depends}
+Architecture: all
+Conflicts: libreoffice-dtd-officedocument1.0
+Provides: libreoffice-dtd-officedocument1.0
+Replaces: libreoffice-dtd-officedocument1.0
+Description: office productivity suite -- legacy 1.0 XML DTD
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Document Type Definition (DTD) of the
+ OpenOffice.org 1.x(!) XML file format.
+
+Package: libreoffice-script-provider-python
+Architecture: all
+Section: python
+Depends: libreoffice-common, libreoffice-core (>= 1:3.5.0~alpha0~), libreoffice-common (>= 1:3.5.0~alpha0~), ${python:Depends}, python-uno | python3-uno, ${misc:Depends}
+Replaces: python-uno (<< 1:3.5.2-2), python3-uno (<< 1:3.5.2-2)
+Conflicts: libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Description: Python script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support Python.
+
+Package: libreoffice-script-provider-bsh
+Architecture: all
+Section: java
+Depends: libreoffice-java-common, libreoffice-core (>= 1:3.5.0~alpha0~), libreoffice-common (>= 1:3.5.0~alpha0~), ${java-runtime-depends}, ${bsh-depends} , ${misc:Depends}
+Replaces: libreoffice-java-common (<< 1:3.4~)
+Description: BeanShell script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support BeanShell.
+
+Package: libreoffice-script-provider-js
+Architecture: all
+Section: web
+Replaces: libreoffice-common (<< 1:3.4~)
+Depends: libreoffice-java-common, libreoffice-core (>= 1:3.5.0~alpha0~), libreoffice-common (>= 1:3.5.0~alpha0~), ${java-runtime-depends}, ${misc:Depends}
+Description: JavaScript script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support JavaScript.
+
--- /dev/null
+Package: libreofficeVER-kab
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-common (>= 1:3.4.0~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: kaddressbook
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- KDE adressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access the KDE Addressbook.
+ You need to install kaddressbook separately.
+
--- /dev/null
+Package: libreofficeVER-kde
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ${kde-iconset-dep}
+Suggests: konqueror,
+ kmail,
+ libreofficeVER-kab
+Section: kde
+Enhances: libreofficeVER
+Replaces: openoffice.org-kde (<< 1:3.3.0~), libreoffice-core (= 1:3.5.0~beta2-1)
+Description: office productivity suite -- KDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the KDE plugin for drawing OOo's widgets with
+ KDE/Qt and a KDEish File Picker when running under KDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-kab: KDE Addressbook support
+
--- /dev/null
+Package: libreofficeVER-l10n-@LCODE@
+Section: localization
+Architecture: all
+Depends: @LOCALES_DEPENDS@,
+ ${misc:Depends}
+Recommends: libreofficeVER-core (>> ${base-version}) | language-support-translations-@CCODE@ @FONT_SUGGESTS@
+Provides: libreofficeVER-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-@LCODE@ | myspell-dictionary-@LCODE@,
+ hyphen-@LCODE@,
+ mythes-@LCODE@,
+ libreoffice-help-@LCODE@,
+ libreoffice-grammarcheck-@LCODE@
+Description: office productivity suite -- @LNAME@ language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ @LNAME@.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
--- /dev/null
+Package: libreofficeVER-wiki-publisher
+Section: misc
+Architecture: all
+Pre-Depends: ${java-runtime-depends}
+Depends: ${mediawiki-jar-depends}, libreofficeVER-core (>= 1:3.4~), libreofficeVER-java-common,
+ ${java:Depends},
+ ${misc:Depends}
+Enhances: libreofficeVER-writer
+Recommends: ${lucene-depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Suggests: mediawiki
+Description: LibreOffice extension for working with MediaWiki articles
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains an extension to create/edit/publish MediaWiki
+ articles with LibreOffice
+Homepage: http://extensions.services.openoffice.org/project/wikipublisher
+
--- /dev/null
+Package: libreofficeVER-presentation-minimizer
+Section: misc
+Architecture: %OOO_ARCH_DEP_EXTENSIONS_ARCHS%
+Depends: ${shlibs:Depends}, libreofficeVER-core, libreofficeVER-impress,
+ ${misc:Depends}
+Enhances: libreofficeVER-impress
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Description: LibreOffice extension for size-efficient presentations
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation minimizer extension:
+ "The Sun Presentation Minimizer is used to reduce the file size of the
+ current presentation. Images will be compressed, and data that is no longer
+ needed will be removed.
+ The Sun Presentation Minimizer can optimize the image quality size.
+ Presentations designed for screen or projector do not require the same high
+ quality as presentations designed for print."
+Homepage: http://extensions.services.openoffice.org/project/PresentationMinimizer
+
--- /dev/null
+Package: mozilla-libreofficeVER
+Section: net
+Architecture: %OOO_NSPLUGIN_ARCHS%
+Enhances: iceape-browser,
+ iceweasel,
+ mozilla-browser,
+ firefox,
+ libreofficeVER,
+ libreofficeVER-core
+Depends: ${shlibs:Depends},
+ libreofficeVER-core (>= 1:3.5.0~beta~),
+ ${misc:Depends}
+Recommends: iceweasel | firefox | iceape-browser | konqueror-nsplugins,
+ libreoffice-writer,
+ libreoffice-calc,
+ libreoffice-draw,
+ libreoffice-impress,
+ libreoffice-math,
+ libreoffice-base
+Xb-Npp-Applications: ec8030f7-c20a-464f-9b0e-13a3a9e97384, 92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a
+Xb-Npp-Name: LibreOffice Plug-in
+Xb-Npp-MimeType: application/vnd.stardivision.calc, application/vnd.stardivision.chart, application/vnd.stardivision.draw, application/vnd.stardivision.impress, application/vnd.stardivision.impress-packed, application/vnd.stardivision.math, application/vnd.stardivision.writer, application/vnd.stardivision.writer-global, application/vnd.staroffice.writer, application/vnd.sun.xml.calc, application/vnd.sun.xml.calc.template, application/vnd.sun.xml.draw, application/vnd.sun.xml.draw.template, application/vnd.sun.xml.impress, application/vnd.sun.xml.impress.template, application/vnd.sun.xml.math, application/vnd.sun.xml.writer, application/vnd.sun.xml.writer.global, application/vnd.sun.xml.writer.template, application/vnd.oasis.opendocument.text, application/vnd.oasis.opendocument.text-template, application/vnd.oasis.opendocument.text-master, application/vnd.oasis.opendocument.text-web, application/vnd.oasis.opendocument.spreadsheet, application/vnd.oasis.opendocument.spreadsheet-template, application/vnd.oasis.opendocument.graphics, application/vnd.oasis.opendocument.graphics-template, application/vnd.oasis.opendocument.presentation, application/vnd.oasis.opendocument.presentation-template, application/vnd.oasis.opendocument.formula
+Conflicts: mozilla-openoffice.org (<< 1:3.3.0~)
+Replaces: mozilla-openoffice.org
+Description: office productivity suite -- Mozilla plugin
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains a Mozilla/Netscape compatible plugin which can handle
+ all OOo documents.
+
--- /dev/null
+Package: libreofficeVER-mysql-connector
+Section: misc
+Architecture: %OOO_BASE_ARCHS%
+Depends: ${shlibs:Depends}, libreofficeVER-core,
+ ${misc:Depends}
+Suggests: mysql-server (>= 5.1)
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Homepage: http://extensions.services.openoffice.org/en/project/mysql_connector
+Description: MySQL Connector extension for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The MySQL Connector extension allows one to use the MySQL database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+
--- /dev/null
+Package: libreofficeVER-ogltrans
+Section: graphics
+Priority: extra
+Architecture: %OOO_OGLTRANS_ARCHS%
+Depends: ${shlibs:Depends}, libreofficeVER-core, libreofficeVER-impress, libreofficeVER-common,
+ ${misc:Depends}
+Enhances: libreofficeVER-impress
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: LibreOffice Impress extension for transitions using OpenGL
+ LibreOffice is a full-featured office productivity suite that provide
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the extension making LibreOffice able to use
+ OpenGL for impress transitions.
+
--- /dev/null
+Package: libreofficeVER-pdfimport
+Section: misc
+Priority: extra
+Architecture: %OOO_ARCH_DEP_EXTENSIONS_ARCHS%
+Depends: ${shlibs:Depends}, libreofficeVER-core,
+ ${misc:Depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Description: LibreOffice extension for importing PDF documents
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains an extension to open PDF documents with
+ LibreOffice Draw.
+Homepage: http://extensions.services.openoffice.org/project/pdfimport
+
--- /dev/null
+Package: libreofficeVER-sdbc-postgresql
+Section: misc
+Architecture: %OOO_BASE_ARCHS%
+Depends: ${shlibs:Depends}, libreofficeVER-core (>= 1:3.5.0~beta),
+ ${misc:Depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Suggests: postgresql (>= 8.4)
+Description: PostgreSQL SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The PostgreSQL SDBC Driver allows one to use the PostgreSQL database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+Homepage: http://wiki.documentfoundation.org/PostgreSQL-SDBC
+
--- /dev/null
+Package: libreofficeVER-presenter-console
+Section: misc
+Architecture: %OOO_ARCH_DEP_EXTENSIONS_ARCHS%
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Depends: ${shlibs:Depends}, libreofficeVER-core, libreofficeVER-impress,
+ ${misc:Depends}
+Enhances: libreofficeVER-impress
+Description: LibreOffice Impress extension for a separate presenter's console
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Presenter Console extension:
+ .
+ The Presenter Console for Impress is a feature that aids a presenter during a
+ slide show. It provides information on a second screen, that typically is not
+ visible to the audience. This includes
+ .
+ * a view to the currently displayed slide (for when the presenter faces the
+ audience and can not see the primary screen)
+ * a preview of the next slide or next effect
+ * the notes of the current slide
+ * the current time and/or the elapsed time
+ * navigation buttons for going to the previous/next slide
+Homepage: http://extensions.services.openoffice.org/project/presenter-screen
+
--- /dev/null
+Package: libreofficeVER-report-builder
+Section: misc
+Architecture: all
+Pre-Depends: ${java-runtime-depends}
+Depends: ${report-builder-jar-depends}, libreofficeVER-report-builder-bin (>= ${base-version}), libreoffice-core, libreoffice-java-common,
+ ${java:Depends},
+ ${misc:Depends}
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15), libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+Provides: libreoffice-reportdesigner
+Enhances: libreofficeVER-base
+Description: LibreOffice extension for building database reports
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the report builder extension:
+ "Create with the Sun Report Builder stylish, smart-looking database reports.
+ The flexible report editor can define group and page headers as well as
+ group and page footers and even calculation fields are available to
+ accomplish complex database reports."
+Homepage: http://extensions.services.openoffice.org/project/reportdesign
+
+Package: libreofficeVER-report-builder-bin
+Section: misc
+Architecture: %OOO_REPORTDESIGN_ARCHS%
+Depends: ${shlibs:Depends}, libreoffice-core, libreofficeVER-base, ${misc:Depends}
+Description: LibreOffice extension for building database reports -- libraries
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some architecture-dependent support libraries
+ (librpt*.so) for the report builder extension.
+
--- /dev/null
+Package: libreofficeVER-dev
+Section: devel
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: dmake,
+ g++,
+ ${java-runtime-depends},
+ ${java-common-depends}
+Suggests: libreoffice-dev-doc,
+ libmythes-dev,
+ c-shell
+Description: office productivity suite -- SDK
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the files needed to build plugins/add-ons for
+ LibreOffice (includes, IDL files, build tools, ...). It also contains
+ the zipped source of the UNO Java libraries for use in IDEs like eclipse.
+
+Package: libreofficeVER-dev-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: www-browser
+Suggests: libreofficeVER-dtd-officedocument1.0
+Conflicts: openoffice.org-dev-doc
+Description: office productivity suite -- SDK documentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the documentation of the LibreOffice SDK:
+ .
+ * C++/Java API reference
+ * IDL reference
+ * C++/Java/Basic examples
+ .
+ It also contains the gsicheck utility.
+
--- /dev/null
+Package: uno-libs3
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Replaces: ure (<< 1.4+OOo3.0.0~beta2-1)
+Description: LibreOffice UNO runtime environment -- public shared libraries
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the public libraries:
+ - libuno_sal: System Abstraction Layer (C Interface)
+ - libuno_salhelpergcc3: additional C++ functionality for sal
+ - libuno_cppu: C++ UNO bridge (C Interface)
+ - libuno_cppuhelpergcc3: additionl C++ functionality for cppu
+ - libuno_purpenvhelpergcc3: "purpose environments" helper
+
+Package: uno-libs3-dbg
+Section: debug
+Priority: extra
+Architecture: %OOO_ARCHS%
+Depends: uno-libs3 (= ${ure:Version}),
+ ${misc:Depends}
+Replaces: ure-dbg (<< 1.4+OOo3.0.0~beta2-1)
+Description: LibreOffice UNO runtime environment -- public shared library debug symbols
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the (detached) debug symbols for the public libraries:
+ - libuno_sal: System Abstraction Layer (C Interface)
+ - libuno_salhelpergcc3: additional C++ functionality for sal
+ - libuno_cppu: C++ UNO bridge (C Interface)
+ - libuno_cppuhelpergcc3: additionl C++ functionality for cppu
+ - libuno_purpenvhelpergcc3: "purpose environments" helper
+
+Package: ure
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: uno-libs3 (= ${ure:Version}), ${shlibs:Depends},
+ ${misc:Depends}
+Suggests: java5-runtime
+Conflicts: cli-uno-bridge (<< 1:3.0.0~dev300m22)
+Replaces: libreoffice-java-common (<< 1:3.0.0~dev300m12)
+Breaks: openoffice.org-core (<< 1:3.3~)
+Description: LibreOffice UNO runtime environment
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+
+Package: ure-dbg
+Section: debug
+Priority: extra
+Architecture: %OOO_ARCHS%
+Depends: ure (= ${ure:Version}), uno-libs3-dbg (= ${ure:Version}),
+ ${misc:Depends}
+Description: LibreOffice UNO runtime environment -- debug symbols
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the (detached) debug symbols for the URE.
+
--- /dev/null
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=442
+Upstream-Name: LibreOffice
+Upstream-Maintainer: libreoffice@lists.freedesktop.org
+Upstream-Source: http://download.documentfoundation.org/libreoffice
+
+
+Files: *
+Copyright: Copyright 2000, 2010 Oracle and/or its affiliates.
+Copyright: Copyright (c) 2000, 2010 LibreOffice contributors and/or their affiliates.
+License: LGPL-3 | MPL.1,1
+
+Files: debian/*
+Copyright: Copyright (C) 2002-2009 Software in the Public Interest, Inc.
+License: GPL-2
+
+File: debian/templates/debian-presentation.otp
+Copyright: Copyright (C) 2010 Raphaël Hertzog
+License: GPL-2+
+
+File: debian/templates/debian-presentation-background.xcf
+Copyright: Copyright Alexis Younes "ayo"
+License: GPL-2+
+
+Files: ext-sources/*commons-codec*
+Copyright: Copyright 2001-2004 The Apache Software Foundation.
+License: Apache-2.0
+
+Files: ext-sources/*commons-logging*
+Copyright: Copyright 2003-2007 The Apache Software Foundation
+License: Apache-2.0
+
+Files: ext-sources/*commons-lang*
+Copyright: Copyright 2001-2007 The Apache Software Foundation
+License: Apache-2.0
+
+Files: ext-sources/*commons-httpclient*
+Copyright: Copyright 1999-2007 The Apache Software Foundation
+License: Apache-2.0
+
+Files: ext-sources/*bsh*
+Copyright: Copyright (C) 2000 Pat Niemeyer
+Copyright: Copyright (C) 2000 INRIA, France Telecom
+Copyright: Copyright (C) 2002 France Telecom
+License: SPL
+ SUN PUBLIC LICENSE Version 1.0
+
+ 1. Definitions.
+
+ 1.0.1. "Commercial Use" means distribution or otherwise making the
+ Covered Code available to a third party.
+
+ 1.1. "Contributor" means each entity that creates or contributes to
+ the creation of Modifications.
+
+ 1.2. "Contributor Version" means the combination of the Original Code,
+ prior Modifications used by a Contributor, and the Modifications made
+ by that particular Contributor.
+
+ 1.3. "Covered Code" means the Original Code or Modifications or the
+ combination of the Original Code and Modifications, in each case
+ including portions thereof and corresponding documentation released
+ with the source code.
+
+ 1.4. "Electronic Distribution Mechanism" means a mechanism generally
+ accepted in the software development community for the electronic
+ transfer of data.
+
+ 1.5. "Executable" means Covered Code in any form other than Source
+ Code.
+
+ 1.6. "Initial Developer" means the individual or entity identified as
+ the Initial Developer in the Source Code notice required by Exhibit A.
+
+ 1.7. "Larger Work" means a work which combines Covered Code or
+ portions thereof with code not governed by the terms of this License.
+
+ 1.8. "License" means this document.
+
+ 1.8.1. "Licensable" means having the right to grant, to the maximum
+ extent possible, whether at the time of the initial grant or
+ subsequently acquired, any and all of the rights conveyed herein.
+
+ 1.9. "Modifications" means any addition to or deletion from the
+ substance or structure of either the Original Code or any previous
+ Modifications. When Covered Code is released as a series of files, a
+ Modification is:
+
+ A. Any addition to or deletion from the contents of a file containing
+ Original Code or previous Modifications.
+
+ B. Any new file that contains any part of the Original Code or
+ previous Modifications.
+
+ 1.10. "Original Code" means Source Code of computer software code
+ which is described in the Source Code notice required by Exhibit A as
+ Original Code, and which, at the time of its release under this
+ License is not already Covered Code governed by this License.
+
+ 1.10.1. "Patent Claims" means any patent claim(s), now owned or
+ hereafter acquired, including without limitation, method, process, and
+ apparatus claims, in any patent Licensable by grantor.
+
+ 1.11. "Source Code" means the preferred form of the Covered Code for
+ making modifications to it, including all modules it contains, plus
+ any associated documentation, interface definition files, scripts used
+ to control compilation and installation of an Executable, or source
+ code differential comparisons against either the Original Code or
+ another well known, available Covered Code of the Contributor's
+ choice. The Source Code can be in a compressed or archival form,
+ provided the appropriate decompression or de-archiving software is
+ widely available for no charge.
+
+ 1.12. "You" (or "Your") means an individual or a legal entity
+ exercising rights under, and complying with all of the terms of, this
+ License or a future version of this License issued under Section 6.1.
+ For legal entities, "You" includes any entity which controls, is
+ controlled by, or is under common control with You. For purposes of
+ this definition, "control" means (a) the power, direct or indirect, to
+ cause the direction or management of such entity, whether by contract
+ or otherwise, or (b) ownership of more than fifty percent (50%) of the
+ outstanding shares or beneficial ownership of such entity.
+
+ 2. Source Code License.
+
+ 2.1 The Initial Developer Grant.
+
+ The Initial Developer hereby grants You a world-wide, royalty-free,
+ non-exclusive license, subject to third party intellectual property
+ claims:
+
+ (a) under intellectual property rights (other than patent or
+ trademark) Licensable by Initial Developer to use, reproduce, modify,
+ display, perform, sublicense and distribute the Original Code (or
+ portions thereof) with or without Modifications, and/or as part of a
+ Larger Work; and
+
+ (b) under Patent Claims infringed by the making, using or selling of
+ Original Code, to make, have made, use, practice, sell, and offer for
+ sale, and/or otherwise dispose of the Original Code (or portions
+ thereof).
+
+ (c) the licenses granted in this Section 2.1(a) and (b) are effective
+ on the date Initial Developer first distributes Original Code under
+ the terms of this License.
+
+ (d) Notwithstanding Section 2.1(b) above, no patent license is
+ granted: 1) for code that You delete from the Original Code; 2)
+ separate from the Original Code; or 3) for infringements caused by:
+ i) the modification of the Original Code or ii) the combination of the
+ Original Code with other software or devices.
+
+ 2.2. Contributor Grant.
+
+ Subject to third party intellectual property claims, each Contributor
+ hereby grants You a world-wide, royalty-free, non-exclusive license
+
+ (a) under intellectual property rights (other than patent or
+ trademark) Licensable by Contributor, to use, reproduce, modify,
+ display, perform, sublicense and distribute the Modifications created
+ by such Contributor (or portions thereof) either on an unmodified
+ basis, with other Modifications, as Covered Code and/or as part of a
+ Larger Work; and
+
+ (b) under Patent Claims infringed by the making, using, or selling of
+ Modifications made by that Contributor either alone and/or in
+ combination with its Contributor Version (or portions of such
+ combination), to make, use, sell, offer for sale, have made, and/or
+ otherwise dispose of: 1) Modifications made by that Contributor (or
+ portions thereof); and 2) the combination of Modifications made by
+ that Contributor with its Contributor Version (or portions of such
+ combination).
+
+ (c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective
+ on the date Contributor first makes Commercial Use of the Covered
+ Code.
+
+ (d) notwithstanding Section 2.2(b) above, no patent license is
+ granted: 1) for any code that Contributor has deleted from the
+ Contributor Version; 2) separate from the Contributor Version; 3) for
+ infringements caused by: i) third party modifications of Contributor
+ Version or ii) the combination of Modifications made by that
+ Contributor with other software (except as part of the Contributor
+ Version) or other devices; or 4) under Patent Claims infringed by
+ Covered Code in the absence of Modifications made by that Contributor.
+
+ 3. Distribution Obligations.
+
+ 3.1. Application of License.
+
+ The Modifications which You create or to which You contribute are
+ governed by the terms of this License, including without limitation
+ Section 2.2. The Source Code version of Covered Code may be
+ distributed only under the terms of this License or a future version
+ of this License released under Section 6.1, and You must include a
+ copy of this License with every copy of the Source Code You
+ distribute. You may not offer or impose any terms on any Source Code
+ version that alters or restricts the applicable version of this
+ License or the recipients' rights hereunder. However, You may include
+ an additional document offering the additional rights described in
+ Section 3.5.
+
+ 3.2. Availability of Source Code.
+
+ Any Modification which You create or to which You contribute must be
+ made available in Source Code form under the terms of this License
+ either on the same media as an Executable version or via an accepted
+ Electronic Distribution Mechanism to anyone to whom you made an
+ Executable version available; and if made available via Electronic
+ Distribution Mechanism, must remain available for at least twelve (12)
+ months after the date it initially became available, or at least six
+ (6) months after a subsequent version of that particular Modification
+ has been made available to such recipients. You are responsible for
+ ensuring that the Source Code version remains available even if the
+ Electronic Distribution Mechanism is maintained by a third party.
+
+ 3.3. Description of Modifications.
+
+ You must cause all Covered Code to which You contribute to contain a
+ file documenting the changes You made to create that Covered Code and
+ the date of any change. You must include a prominent statement that
+ the Modification is derived, directly or indirectly, from Original
+ Code provided by the Initial Developer and including the name of the
+ Initial Developer in (a) the Source Code, and (b) in any notice in an
+ Executable version or related documentation in which You describe the
+ origin or ownership of the Covered Code.
+
+ 3.4. Intellectual Property Matters.
+
+ (a) Third Party Claims.
+
+ If Contributor has knowledge that a license under a third party's
+ intellectual property rights is required to exercise the rights
+ granted by such Contributor under Sections 2.1 or 2.2, Contributor
+ must include a text file with the Source Code distribution titled
+ "LEGAL'' which describes the claim and the party making the claim in
+ sufficient detail that a recipient will know whom to contact. If
+ Contributor obtains such knowledge after the Modification is made
+ available as described in Section 3.2, Contributor shall promptly
+ modify the LEGAL file in all copies Contributor makes available
+ thereafter and shall take other steps (such as notifying appropriate
+ mailing lists or newsgroups) reasonably calculated to inform those who
+ received the Covered Code that new knowledge has been obtained.
+
+ (b) Contributor APIs.
+
+ If Contributor's Modifications include an application programming
+ interface ("API") and Contributor has knowledge of patent licenses
+ which are reasonably necessary to implement that API, Contributor must
+ also include this information in the LEGAL file.
+
+ (c) Representations.
+
+ Contributor represents that, except as disclosed pursuant to Section
+ 3.4(a) above, Contributor believes that Contributor's Modifications
+ are Contributor's original creation(s) and/or Contributor has
+ sufficient rights to grant the rights conveyed by this License.
+
+ 3.5. Required Notices.
+
+ You must duplicate the notice in Exhibit A in each file of the Source
+ Code. If it is not possible to put such notice in a particular Source
+ Code file due to its structure, then You must include such notice in a
+ location (such as a relevant directory) where a user would be likely
+ to look for such a notice. If You created one or more Modification(s)
+ You may add your name as a Contributor to the notice described in
+ Exhibit A. You must also duplicate this License in any documentation
+ for the Source Code where You describe recipients' rights or ownership
+ rights relating to Covered Code. You may choose to offer, and to
+ charge a fee for, warranty, support, indemnity or liability
+ obligations to one or more recipients of Covered Code. However, You
+ may do so only on Your own behalf, and not on behalf of the Initial
+ Developer or any Contributor. You must make it absolutely clear than
+ any such warranty, support, indemnity or liability obligation is
+ offered by You alone, and You hereby agree to indemnify the Initial
+ Developer and every Contributor for any liability incurred by the
+ Initial Developer or such Contributor as a result of warranty,
+ support, indemnity or liability terms You offer.
+
+ 3.6. Distribution of Executable Versions.
+
+ You may distribute Covered Code in Executable form only if the
+ requirements of Section 3.1-3.5 have been met for that Covered Code,
+ and if You include a notice stating that the Source Code version of
+ the Covered Code is available under the terms of this License,
+ including a description of how and where You have fulfilled the
+ obligations of Section 3.2. The notice must be conspicuously included
+ in any notice in an Executable version, related documentation or
+ collateral in which You describe recipients' rights relating to the
+ Covered Code. You may distribute the Executable version of Covered
+ Code or ownership rights under a license of Your choice, which may
+ contain terms different from this License, provided that You are in
+ compliance with the terms of this License and that the license for the
+ Executable version does not attempt to limit or alter the recipient's
+ rights in the Source Code version from the rights set forth in this
+ License. If You distribute the Executable version under a different
+ license You must make it absolutely clear that any terms which differ
+ from this License are offered by You alone, not by the Initial
+ Developer or any Contributor. You hereby agree to indemnify the
+ Initial Developer and every Contributor for any liability incurred by
+ the Initial Developer or such Contributor as a result of any such
+ terms You offer.
+
+ 3.7. Larger Works.
+
+ You may create a Larger Work by combining Covered Code with other code
+ not governed by the terms of this License and distribute the Larger
+ Work as a single product. In such a case, You must make sure the
+ requirements of this License are fulfilled for the Covered Code.
+
+ 4. Inability to Comply Due to Statute or Regulation.
+
+ If it is impossible for You to comply with any of the terms of this
+ License with respect to some or all of the Covered Code due to
+ statute, judicial order, or regulation then You must: (a) comply with
+ the terms of this License to the maximum extent possible; and (b)
+ describe the limitations and the code they affect. Such description
+ must be included in the LEGAL file described in Section 3.4 and must
+ be included with all distributions of the Source Code. Except to the
+ extent prohibited by statute or regulation, such description must be
+ sufficiently detailed for a recipient of ordinary skill to be able to
+ understand it.
+
+ 5. Application of this License.
+
+ This License applies to code to which the Initial Developer has
+ attached the notice in Exhibit A and to related Covered Code.
+
+ 6. Versions of the License.
+
+ 6.1. New Versions.
+
+ Sun Microsystems, Inc. ("Sun") may publish revised and/or new versions
+ of the License from time to time. Each version will be given a
+ distinguishing version number.
+
+ 6.2. Effect of New Versions.
+
+ Once Covered Code has been published under a particular version of the
+ License, You may always continue to use it under the terms of that
+ version. You may also choose to use such Covered Code under the terms
+ of any subsequent version of the License published by Sun. No one
+ other than Sun has the right to modify the terms applicable to Covered
+ Code created under this License.
+
+ 6.3. Derivative Works.
+
+ If You create or use a modified version of this License (which you may
+ only do in order to apply it to code which is not already Covered Code
+ governed by this License), You must: (a) rename Your license so that
+ the phrases "Sun," "Sun Public License," or "SPL" or any confusingly
+ similar phrase do not appear in your license (except to note that your
+ license differs from this License) and (b) otherwise make it clear
+ that Your version of the license contains terms which differ from the
+ Sun Public License. (Filling in the name of the Initial Developer,
+ Original Code or Contributor in the notice described in Exhibit A
+ shall not of themselves be deemed to be modifications of this
+ License.)
+
+ 7. DISCLAIMER OF WARRANTY.
+
+ COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS,
+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+ DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+ THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+ IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+ YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+ COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+ OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+ ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+ 8. TERMINATION.
+
+ 8.1. This License and the rights granted hereunder will terminate
+ automatically if You fail to comply with terms herein and fail to cure
+ such breach within 30 days of becoming aware of the breach. All
+ sublicenses to the Covered Code which are properly granted shall
+ survive any termination of this License. Provisions which, by their
+ nature, must remain in effect beyond the termination of this License
+ shall survive.
+
+ 8.2. If You initiate litigation by asserting a patent infringement
+ claim (excluding declaratory judgment actions) against Initial Developer
+ or a Contributor (the Initial Developer or Contributor against whom
+ You file such action is referred to as "Participant") alleging that:
+
+ (a) such Participant's Contributor Version directly or indirectly
+ infringes any patent, then any and all rights granted by such
+ Participant to You under Sections 2.1 and/or 2.2 of this License
+ shall, upon 60 days notice from Participant terminate prospectively,
+ unless if within 60 days after receipt of notice You either: (i)
+ agree in writing to pay Participant a mutually agreeable reasonable
+ royalty for Your past and future use of Modifications made by such
+ Participant, or (ii) withdraw Your litigation claim with respect to
+ the Contributor Version against such Participant. If within 60 days
+ of notice, a reasonable royalty and payment arrangement are not
+ mutually agreed upon in writing by the parties or the litigation claim
+ is not withdrawn, the rights granted by Participant to You under
+ Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+ the 60 day notice period specified above.
+
+ (b) any software, hardware, or device, other than such Participant's
+ Contributor Version, directly or indirectly infringes any patent, then
+ any rights granted to You by such Participant under Sections 2.1(b)
+ and 2.2(b) are revoked effective as of the date You first made, used,
+ sold, distributed, or had made, Modifications made by that
+ Participant.
+
+ 8.3. If You assert a patent infringement claim against Participant
+ alleging that such Participant's Contributor Version directly or
+ indirectly infringes any patent where such claim is resolved (such as
+ by license or settlement) prior to the initiation of patent
+ infringement litigation, then the reasonable value of the licenses
+ granted by such Participant under Sections 2.1 or 2.2 shall be taken
+ into account in determining the amount or value of any payment or
+ license.
+
+ 8.4. In the event of termination under Sections 8.1 or 8.2 above, all
+ end user license agreements (excluding distributors and resellers)
+ which have been validly granted by You or any distributor hereunder
+ prior to termination shall survive termination.
+
+ 9. LIMITATION OF LIABILITY.
+
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+ (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+ DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+ OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+ ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+ CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+ WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+ COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+ INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+ LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+ RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+ PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+ EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+ THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+ 10. U.S. GOVERNMENT END USERS.
+
+ The Covered Code is a "commercial item," as that term is defined in 48
+ C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software"
+ and "commercial computer software documentation," as such terms are
+ used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R.
+ 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
+ U.S. Government End Users acquire Covered Code with only those rights
+ set forth herein.
+
+ 11. MISCELLANEOUS.
+
+ This License represents the complete agreement concerning subject
+ matter hereof. If any provision of this License is held to be
+ unenforceable, such provision shall be reformed only to the extent
+ necessary to make it enforceable. This License shall be governed by
+ California law provisions (except to the extent applicable law, if
+ any, provides otherwise), excluding its conflict-of-law provisions.
+ With respect to disputes in which at least one party is a citizen of,
+ or an entity chartered or registered to do business in the United
+ States of America, any litigation relating to this License shall be
+ subject to the jurisdiction of the Federal Courts of the Northern
+ District of California, with venue lying in Santa Clara County,
+ California, with the losing party responsible for costs, including
+ without limitation, court costs and reasonable attorneys' fees and
+ expenses. The application of the United Nations Convention on
+ Contracts for the International Sale of Goods is expressly excluded.
+ Any law or regulation which provides that the language of a contract
+ shall be construed against the drafter shall not apply to this
+ License.
+
+ 12. RESPONSIBILITY FOR CLAIMS.
+
+ As between Initial Developer and the Contributors, each party is
+ responsible for claims and damages arising, directly or indirectly,
+ out of its utilization of rights under this License and You agree to
+ work with Initial Developer and Contributors to distribute such
+ responsibility on an equitable basis. Nothing herein is intended or
+ shall be deemed to constitute any admission of liability.
+
+ 13. MULTIPLE-LICENSED CODE.
+
+ Initial Developer may designate portions of the Covered Code as
+ ?Multiple-Licensed?. ?Multiple-Licensed? means that the Initial
+ Developer permits you to utilize portions of the Covered Code under
+ Your choice of the alternative licenses, if any, specified by the
+ Initial Developer in the file described in Exhibit A.
+
+ Exhibit A -Sun Public License Notice.
+
+ The contents of this file are subject to the Sun Public License
+ Version 1.0 (the "License"); you may not use this file except in
+ compliance with the License. A copy of the License is available at
+ http://www.sun.com/
+
+ The Original Code is _________________. The Initial Developer of the
+ Original Code is ___________. Portions created by ______ are Copyright
+ (C)_________. All Rights Reserved.
+
+ Contributor(s): ______________________________________.
+
+ Alternatively, the contents of this file may be used under the terms
+ of the _____ license (the ?[___] License?), in which case the
+ provisions of [______] License are applicable instead of those above.
+ If you wish to allow use of your version of this file only under the
+ terms of the [____] License and not to allow others to use your
+ version of this file under the SPL, indicate your decision by deleting
+ the provisions above and replace them with the notice and other
+ provisions required by the [___] License. If you do not delete the
+ provisions above, a recipient may use your version of this file under
+ either the SPL or the [___] License."
+
+ [NOTE: The text of this Exhibit A may differ slightly from the text of
+ the notices in the Source Code files of the Original Code. You should
+ use the text of this Exhibit A rather than the text found in the
+ Original Code Source Code for Your Modifications.]
+License: LGPL
+
+Files: ext-sources/*-db-*
+Copyright: Copyright (c) 1990-2003 Sleepycat Software
+Copyright: Copyright (c) 1990, 1993, 1994, 1995 The Regents of the University of California
+Copyright: Copyright (c) 1995, 1996 The President and Fellows of Harvard University
+License: BSD-C3
+
+Files: ext-sources/*`dejavu-fonts-ttf*
+Copyright: Copyright (c) 2003 by Bitstream, Inc.
+Cppyright: Copyright (c) 2006 by Tavmjong Bah
+License: other
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of the fonts accompanying this license ("Fonts") and associated
+ documentation files (the "Font Software"), to reproduce and distribute the
+ Font Software, including without limitation the rights to use, copy, merge,
+ publish, distribute, and/or sell copies of the Font Software, and to permit
+ persons to whom the Font Software is furnished to do so, subject to the
+ following conditions:
+
+ The above copyright and trademark notices and this permission notice shall
+ be included in all copies of one or more of the Font Software typefaces.
+
+ The Font Software may be modified, altered, or added to, and in particular
+ the designs of glyphs or characters in the Fonts may be modified and
+ additional glyphs or characters may be added to the Fonts, only if the fonts
+ are renamed to names not containing either the words "Bitstream" or the word
+ "Vera".
+
+ This License becomes null and void to the extent applicable to Fonts or Font
+ Software that has been modified and is distributed under the "Bitstream
+ Vera" names.
+
+ The Font Software may be sold as part of a larger software package but no
+ copy of one or more of the Font Software typefaces may be sold by itself.
+
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
+ TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
+ FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
+ ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
+ FONT SOFTWARE.
+
+ Except as contained in this notice, the names of Gnome, the Gnome
+ Foundation, and Bitstream Inc., shall not be used in advertising or
+ otherwise to promote the sale, use or other dealings in this Font Software
+ without prior written authorization from the Gnome Foundation or Bitstream
+ Inc., respectively. For further information, contact: fonts at gnome dot
+ org.
+
+Files: ext-sources/*liberation-fonts-ttf*
+Copyright: Copyright © 2007 Red Hat, Inc
+License: other
+ LICENSE AGREEMENT AND LIMITED PRODUCT WARRANTY
+ LIBERATION FONT SOFTWARE
+
+ This agreement governs the use of the Software and any updates to the Software, regardless of the delivery mechanism. Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to the user ("Client") a license to this work pursuant to the GNU General Public License v.2 with the exceptions set forth below and such other terms as are set forth in this End User License Agreement.
+
+ 1. The Software and License Exception. LIBERATION font software (the "Software") consists of TrueType-OpenType formatted font software for rendering LIBERATION typefaces in sans-serif, serif, and monospaced character styles. You are licensed to use, modify, copy, and distribute the Software pursuant to the GNU General Public License v.2 with the following exceptions:
+
+ (a) As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
+
+ (b) As a further exception, any distribution of the object code of the Software in a physical product must provide you the right to access and modify the source code for the Software and to reinstall that modified version of the Software in object code form on the same physical product on which you received it.
+
+ 2. Intellectual Property Rights. The Software and each of its components, including the source code, documentation, appearance, structure and organization are owned by Red Hat and others and are protected under copyright and other laws. Title to the Software and any component, or to any copy, modification, or merged portion shall remain with the aforementioned, subject to the applicable license. The "LIBERATION" trademark is a trademark of Red Hat, Inc. in the U.S. and other countries. This agreement does not permit Client to distribute modified versions of the Software using Red Hat's trademarks. If Client makes a redistribution of a modified version of the Software, then Client must modify the files names to remove any reference to the Red Hat trademarks and must not use the Red Hat trademarks in any way to reference or promote the modified Software.
+
+ 3. Limited Warranty. To the maximum extent permitted under applicable law, the Software is provided and licensed "as is" without warranty of any kind, expressed or implied, including the implied warranties of merchantability, non-infringement or fitness for a particular purpose. Red Hat does not warrant that the functions contained in the Software will meet Client's requirements or that the operation of the Software will be entirely error free or appear precisely as described in the accompanying documentation.
+
+ 4. Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, Red Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential damages, including lost profits or lost savings arising out of the use or inability to use the Software, even if Red Hat or such dealer has been advised of the possibility of such damages.
+
+ 5. General. If any provision of this agreement is held to be unenforceable, that shall not affect the enforceability of the remaining provisions. This agreement shall be governed by the laws of the State of North Carolina and of the United States, without regard to any conflict of laws provisions, except that the United Nations Convention on the International Sale of Goods shall not apply.
+ Copyright © 2007 Red Hat, Inc. All rights reserved. LIBERATION is a trademark of Red Hat, Inc.
+
+Files: ext-sources/*boost*
+Copyright: Copyright 2000-2003 Beman Dawes
+License: other
+ Boost Software License - Version 1.0 - August 17th, 2003
+
+ Permission is hereby granted, free of charge, to any person or organization
+ obtaining a copy of the software and accompanying documentation covered by
+ this license (the "Software") to use, reproduce, display, distribute,
+ execute, and transmit the Software, and to prepare derivative works of the
+ Software, and to permit third-parties to whom the Software is furnished to
+ do so, all subject to the following:
+
+ The copyright notices in the Software and this entire statement, including
+ the above license grant, this restriction and the following disclaimer,
+ must be included in all copies of the Software, in whole or in part, and
+ all derivative works of the Software, unless such copies or derivative
+ works are solely in the form of machine-executable object code generated by
+ a source language processor.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: ext-sources/*cairo*
+Copyright: Copyright 1999 Tom Tromey
+Copyright: Copyright 2002, 2003 University of Southern California, Information Sciences Institute (ISI)
+Copyright: Copyright 2004 David Reveman
+License: other
+ Permission to use, copy, modify, distribute, and sell this software
+ and its documentation for any purpose is hereby granted without
+ fee, provided that the above copyright notice appear in all copies
+ and that both that copyright notice and this permission notice
+ appear in supporting documentation, and that the name of David
+ Reveman not be used in advertising or publicity pertaining to
+ distribution of the software without specific, written prior
+ permission. David Reveman makes no representations about the
+ suitability of this software for any purpose. It is provided "as
+ is" without express or implied warranty.
+
+ DAVID REVEMAN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
+ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS, IN NO EVENT SHALL DAVID REVEMAN BE LIABLE FOR ANY SPECIAL,
+ INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
+ RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+Copyright: Copyright 2000, 2002, 2004, 2005 Keith Packard
+Copyright: Copyright 2004 Calum Robinson
+Copyright: Copyright 2004 Richard D. Worth
+Copyright: Copyright 2004, 2005 Red Hat, Inc.
+Copyright: Copyright 2004 David Reveman
+License: MPL-1.1 | LGPL-2.1
+License: LGPL-2.1
+ On Debian systems the full text of the GNU LGPL v2.1 can be found
+ in the `/usr/share/common-licenses/LGPL-2.1' file.
+License: MPL-1.1
+ MOZILLA PUBLIC LICENSE
+ Version 1.1
+
+ ---------------
+
+ 1. Definitions.
+
+ 1.0.1. "Commercial Use" means distribution or otherwise making the
+ Covered Code available to a third party.
+
+ 1.1. "Contributor" means each entity that creates or contributes to
+ the creation of Modifications.
+
+ 1.2. "Contributor Version" means the combination of the Original
+ Code, prior Modifications used by a Contributor, and the Modifications
+ made by that particular Contributor.
+
+ 1.3. "Covered Code" means the Original Code or Modifications or the
+ combination of the Original Code and Modifications, in each case
+ including portions thereof.
+
+ 1.4. "Electronic Distribution Mechanism" means a mechanism generally
+ accepted in the software development community for the electronic
+ transfer of data.
+
+ 1.5. "Executable" means Covered Code in any form other than Source
+ Code.
+
+ 1.6. "Initial Developer" means the individual or entity identified
+ as the Initial Developer in the Source Code notice required by Exhibit
+ A.
+
+ 1.7. "Larger Work" means a work which combines Covered Code or
+ portions thereof with code not governed by the terms of this License.
+
+ 1.8. "License" means this document.
+
+ 1.8.1. "Licensable" means having the right to grant, to the maximum
+ extent possible, whether at the time of the initial grant or
+ subsequently acquired, any and all of the rights conveyed herein.
+
+ 1.9. "Modifications" means any addition to or deletion from the
+ substance or structure of either the Original Code or any previous
+ Modifications. When Covered Code is released as a series of files, a
+ Modification is:
+ A. Any addition to or deletion from the contents of a file
+ containing Original Code or previous Modifications.
+
+ B. Any new file that contains any part of the Original Code or
+ previous Modifications.
+
+ 1.10. "Original Code" means Source Code of computer software code
+ which is described in the Source Code notice required by Exhibit A as
+ Original Code, and which, at the time of its release under this
+ License is not already Covered Code governed by this License.
+
+ 1.10.1. "Patent Claims" means any patent claim(s), now owned or
+ hereafter acquired, including without limitation, method, process,
+ and apparatus claims, in any patent Licensable by grantor.
+
+ 1.11. "Source Code" means the preferred form of the Covered Code for
+ making modifications to it, including all modules it contains, plus
+ any associated interface definition files, scripts used to control
+ compilation and installation of an Executable, or source code
+ differential comparisons against either the Original Code or another
+ well known, available Covered Code of the Contributor's choice. The
+ Source Code can be in a compressed or archival form, provided the
+ appropriate decompression or de-archiving software is widely available
+ for no charge.
+
+ 1.12. "You" (or "Your") means an individual or a legal entity
+ exercising rights under, and complying with all of the terms of, this
+ License or a future version of this License issued under Section 6.1.
+ For legal entities, "You" includes any entity which controls, is
+ controlled by, or is under common control with You. For purposes of
+ this definition, "control" means (a) the power, direct or indirect,
+ to cause the direction or management of such entity, whether by
+ contract or otherwise, or (b) ownership of more than fifty percent
+ (50%) of the outstanding shares or beneficial ownership of such
+ entity.
+
+ 2. Source Code License.
+
+ 2.1. The Initial Developer Grant.
+ The Initial Developer hereby grants You a world-wide, royalty-free,
+ non-exclusive license, subject to third party intellectual property
+ claims:
+ (a) under intellectual property rights (other than patent or
+ trademark) Licensable by Initial Developer to use, reproduce,
+ modify, display, perform, sublicense and distribute the Original
+ Code (or portions thereof) with or without Modifications, and/or
+ as part of a Larger Work; and
+
+ (b) under Patents Claims infringed by the making, using or
+ selling of Original Code, to make, have made, use, practice,
+ sell, and offer for sale, and/or otherwise dispose of the
+ Original Code (or portions thereof).
+
+ (c) the licenses granted in this Section 2.1(a) and (b) are
+ effective on the date Initial Developer first distributes
+ Original Code under the terms of this License.
+
+ (d) Notwithstanding Section 2.1(b) above, no patent license is
+ granted: 1) for code that You delete from the Original Code; 2)
+ separate from the Original Code; or 3) for infringements caused
+ by: i) the modification of the Original Code or ii) the
+ combination of the Original Code with other software or devices.
+
+ 2.2. Contributor Grant.
+ Subject to third party intellectual property claims, each Contributor
+ hereby grants You a world-wide, royalty-free, non-exclusive license
+
+ (a) under intellectual property rights (other than patent or
+ trademark) Licensable by Contributor, to use, reproduce, modify,
+ display, perform, sublicense and distribute the Modifications
+ created by such Contributor (or portions thereof) either on an
+ unmodified basis, with other Modifications, as Covered Code
+ and/or as part of a Larger Work; and
+
+ (b) under Patent Claims infringed by the making, using, or
+ selling of Modifications made by that Contributor either alone
+ and/or in combination with its Contributor Version (or portions
+ of such combination), to make, use, sell, offer for sale, have
+ made, and/or otherwise dispose of: 1) Modifications made by that
+ Contributor (or portions thereof); and 2) the combination of
+ Modifications made by that Contributor with its Contributor
+ Version (or portions of such combination).
+
+ (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+ effective on the date Contributor first makes Commercial Use of
+ the Covered Code.
+ (d) Notwithstanding Section 2.2(b) above, no patent license is
+ granted: 1) for any code that Contributor has deleted from the
+ Contributor Version; 2) separate from the Contributor Version;
+ 3) for infringements caused by: i) third party modifications of
+ Contributor Version or ii) the combination of Modifications made
+ by that Contributor with other software (except as part of the
+ Contributor Version) or other devices; or 4) under Patent Claims
+ infringed by Covered Code in the absence of Modifications made by
+ that Contributor.
+
+ 3. Distribution Obligations.
+
+ 3.1. Application of License.
+ The Modifications which You create or to which You contribute are
+ governed by the terms of this License, including without limitation
+ Section 2.2. The Source Code version of Covered Code may be
+ distributed only under the terms of this License or a future version
+ of this License released under Section 6.1, and You must include a
+ copy of this License with every copy of the Source Code You
+ distribute. You may not offer or impose any terms on any Source Code
+ version that alters or restricts the applicable version of this
+ License or the recipients' rights hereunder. However, You may include
+ an additional document offering the additional rights described in
+ Section 3.5.
+
+ 3.2. Availability of Source Code.
+ Any Modification which You create or to which You contribute must be
+ made available in Source Code form under the terms of this License
+ either on the same media as an Executable version or via an accepted
+ Electronic Distribution Mechanism to anyone to whom you made an
+ Executable version available; and if made available via Electronic
+ Distribution Mechanism, must remain available for at least twelve (12)
+ months after the date it initially became available, or at least six
+ (6) months after a subsequent version of that particular Modification
+ has been made available to such recipients. You are responsible for
+ ensuring that the Source Code version remains available even if the
+ Electronic Distribution Mechanism is maintained by a third party.
+
+ 3.3. Description of Modifications.
+ You must cause all Covered Code to which You contribute to contain a
+ file documenting the changes You made to create that Covered Code and
+ the date of any change. You must include a prominent statement that
+ the Modification is derived, directly or indirectly, from Original
+ Code provided by the Initial Developer and including the name of the
+ Initial Developer in (a) the Source Code, and (b) in any notice in an
+ Executable version or related documentation in which You describe the
+ origin or ownership of the Covered Code.
+
+ 3.4. Intellectual Property Matters
+ (a) Third Party Claims.
+ If Contributor has knowledge that a license under a third party's
+ intellectual property rights is required to exercise the rights
+ granted by such Contributor under Sections 2.1 or 2.2,
+ Contributor must include a text file with the Source Code
+ distribution titled "LEGAL" which describes the claim and the
+ party making the claim in sufficient detail that a recipient will
+ know whom to contact. If Contributor obtains such knowledge after
+ the Modification is made available as described in Section 3.2,
+ Contributor shall promptly modify the LEGAL file in all copies
+ Contributor makes available thereafter and shall take other steps
+ (such as notifying appropriate mailing lists or newsgroups)
+ reasonably calculated to inform those who received the Covered
+ Code that new knowledge has been obtained.
+
+ (b) Contributor APIs.
+ If Contributor's Modifications include an application programming
+ interface and Contributor has knowledge of patent licenses which
+ are reasonably necessary to implement that API, Contributor must
+ also include this information in the LEGAL file.
+
+ (c) Representations.
+ Contributor represents that, except as disclosed pursuant to
+ Section 3.4(a) above, Contributor believes that Contributor's
+ Modifications are Contributor's original creation(s) and/or
+ Contributor has sufficient rights to grant the rights conveyed by
+ this License.
+
+ 3.5. Required Notices.
+ You must duplicate the notice in Exhibit A in each file of the Source
+ Code. If it is not possible to put such notice in a particular Source
+ Code file due to its structure, then You must include such notice in a
+ location (such as a relevant directory) where a user would be likely
+ to look for such a notice. If You created one or more Modification(s)
+ You may add your name as a Contributor to the notice described in
+ Exhibit A. You must also duplicate this License in any documentation
+ for the Source Code where You describe recipients' rights or ownership
+ rights relating to Covered Code. You may choose to offer, and to
+ charge a fee for, warranty, support, indemnity or liability
+ obligations to one or more recipients of Covered Code. However, You
+ may do so only on Your own behalf, and not on behalf of the Initial
+ Developer or any Contributor. You must make it absolutely clear than
+ any such warranty, support, indemnity or liability obligation is
+ offered by You alone, and You hereby agree to indemnify the Initial
+ Developer and every Contributor for any liability incurred by the
+ Initial Developer or such Contributor as a result of warranty,
+ support, indemnity or liability terms You offer.
+
+ 3.6. Distribution of Executable Versions.
+ You may distribute Covered Code in Executable form only if the
+ requirements of Section 3.1-3.5 have been met for that Covered Code,
+ and if You include a notice stating that the Source Code version of
+ the Covered Code is available under the terms of this License,
+ including a description of how and where You have fulfilled the
+ obligations of Section 3.2. The notice must be conspicuously included
+ in any notice in an Executable version, related documentation or
+ collateral in which You describe recipients' rights relating to the
+ Covered Code. You may distribute the Executable version of Covered
+ Code or ownership rights under a license of Your choice, which may
+ contain terms different from this License, provided that You are in
+ compliance with the terms of this License and that the license for the
+ Executable version does not attempt to limit or alter the recipient's
+ rights in the Source Code version from the rights set forth in this
+ License. If You distribute the Executable version under a different
+ license You must make it absolutely clear that any terms which differ
+ from this License are offered by You alone, not by the Initial
+ Developer or any Contributor. You hereby agree to indemnify the
+ Initial Developer and every Contributor for any liability incurred by
+ the Initial Developer or such Contributor as a result of any such
+ terms You offer.
+
+ 3.7. Larger Works.
+ You may create a Larger Work by combining Covered Code with other code
+ not governed by the terms of this License and distribute the Larger
+ Work as a single product. In such a case, You must make sure the
+ requirements of this License are fulfilled for the Covered Code.
+
+ 4. Inability to Comply Due to Statute or Regulation.
+
+ If it is impossible for You to comply with any of the terms of this
+ License with respect to some or all of the Covered Code due to
+ statute, judicial order, or regulation then You must: (a) comply with
+ the terms of this License to the maximum extent possible; and (b)
+ describe the limitations and the code they affect. Such description
+ must be included in the LEGAL file described in Section 3.4 and must
+ be included with all distributions of the Source Code. Except to the
+ extent prohibited by statute or regulation, such description must be
+ sufficiently detailed for a recipient of ordinary skill to be able to
+ understand it.
+
+ 5. Application of this License.
+
+ This License applies to code to which the Initial Developer has
+ attached the notice in Exhibit A and to related Covered Code.
+
+ 6. Versions of the License.
+
+ 6.1. New Versions.
+ Netscape Communications Corporation ("Netscape") may publish revised
+ and/or new versions of the License from time to time. Each version
+ will be given a distinguishing version number.
+
+ 6.2. Effect of New Versions.
+ Once Covered Code has been published under a particular version of the
+ License, You may always continue to use it under the terms of that
+ version. You may also choose to use such Covered Code under the terms
+ of any subsequent version of the License published by Netscape. No one
+ other than Netscape has the right to modify the terms applicable to
+ Covered Code created under this License.
+
+ 6.3. Derivative Works.
+ If You create or use a modified version of this License (which you may
+ only do in order to apply it to code which is not already Covered Code
+ governed by this License), You must (a) rename Your license so that
+ the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+ "MPL", "NPL" or any confusingly similar phrase do not appear in your
+ license (except to note that your license differs from this License)
+ and (b) otherwise make it clear that Your version of the license
+ contains terms which differ from the Mozilla Public License and
+ Netscape Public License. (Filling in the name of the Initial
+ Developer, Original Code or Contributor in the notice described in
+ Exhibit A shall not of themselves be deemed to be modifications of
+ this License.)
+
+ 7. DISCLAIMER OF WARRANTY.
+ COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+ DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+ THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+ IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+ YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+ COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+ OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+ ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+ 8. TERMINATION.
+
+ 8.1. This License and the rights granted hereunder will terminate
+ automatically if You fail to comply with terms herein and fail to cure
+ such breach within 30 days of becoming aware of the breach. All
+ sublicenses to the Covered Code which are properly granted shall
+ survive any termination of this License. Provisions which, by their
+ nature, must remain in effect beyond the termination of this License
+ shall survive.
+
+ 8.2. If You initiate litigation by asserting a patent infringement
+ claim (excluding declatory judgment actions) against Initial Developer
+ or a Contributor (the Initial Developer or Contributor against whom
+ You file such action is referred to as "Participant") alleging that:
+
+ (a) such Participant's Contributor Version directly or indirectly
+ infringes any patent, then any and all rights granted by such
+ Participant to You under Sections 2.1 and/or 2.2 of this License
+ shall, upon 60 days notice from Participant terminate prospectively,
+ unless if within 60 days after receipt of notice You either: (i)
+ agree in writing to pay Participant a mutually agreeable reasonable
+ royalty for Your past and future use of Modifications made by such
+ Participant, or (ii) withdraw Your litigation claim with respect to
+ the Contributor Version against such Participant. If within 60 days
+ of notice, a reasonable royalty and payment arrangement are not
+ mutually agreed upon in writing by the parties or the litigation claim
+ is not withdrawn, the rights granted by Participant to You under
+ Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+ the 60 day notice period specified above.
+
+ (b) any software, hardware, or device, other than such Participant's
+ Contributor Version, directly or indirectly infringes any patent, then
+ any rights granted to You by such Participant under Sections 2.1(b)
+ and 2.2(b) are revoked effective as of the date You first made, used,
+ sold, distributed, or had made, Modifications made by that
+ Participant.
+
+ 8.3. If You assert a patent infringement claim against Participant
+ alleging that such Participant's Contributor Version directly or
+ indirectly infringes any patent where such claim is resolved (such as
+ by license or settlement) prior to the initiation of patent
+ infringement litigation, then the reasonable value of the licenses
+ granted by such Participant under Sections 2.1 or 2.2 shall be taken
+ into account in determining the amount or value of any payment or
+ license.
+
+ 8.4. In the event of termination under Sections 8.1 or 8.2 above,
+ all end user license agreements (excluding distributors and resellers)
+ which have been validly granted by You or any distributor hereunder
+ prior to termination shall survive termination.
+
+ 9. LIMITATION OF LIABILITY.
+
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+ (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+ DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+ OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+ ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+ CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+ WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+ COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+ INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+ LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+ RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+ PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+ EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+ THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+ 10. U.S. GOVERNMENT END USERS.
+
+ The Covered Code is a "commercial item," as that term is defined in
+ 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+ software" and "commercial computer software documentation," as such
+ terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+ C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+ all U.S. Government End Users acquire Covered Code with only those
+ rights set forth herein.
+
+ 11. MISCELLANEOUS.
+
+ This License represents the complete agreement concerning subject
+ matter hereof. If any provision of this License is held to be
+ unenforceable, such provision shall be reformed only to the extent
+ necessary to make it enforceable. This License shall be governed by
+ California law provisions (except to the extent applicable law, if
+ any, provides otherwise), excluding its conflict-of-law provisions.
+ With respect to disputes in which at least one party is a citizen of,
+ or an entity chartered or registered to do business in the United
+ States of America, any litigation relating to this License shall be
+ subject to the jurisdiction of the Federal Courts of the Northern
+ District of California, with venue lying in Santa Clara County,
+ California, with the losing party responsible for costs, including
+ without limitation, court costs and reasonable attorneys' fees and
+ expenses. The application of the United Nations Convention on
+ Contracts for the International Sale of Goods is expressly excluded.
+ Any law or regulation which provides that the language of a contract
+ shall be construed against the drafter shall not apply to this
+ License.
+
+ 12. RESPONSIBILITY FOR CLAIMS.
+
+ As between Initial Developer and the Contributors, each party is
+ responsible for claims and damages arising, directly or indirectly,
+ out of its utilization of rights under this License and You agree to
+ work with Initial Developer and Contributors to distribute such
+ responsibility on an equitable basis. Nothing herein is intended or
+ shall be deemed to constitute any admission of liability.
+
+ 13. MULTIPLE-LICENSED CODE.
+
+ Initial Developer may designate portions of the Covered Code as
+ "Multiple-Licensed". "Multiple-Licensed" means that the Initial
+ Developer permits you to utilize portions of the Covered Code under
+ Your choice of the NPL or the alternative licenses, if any, specified
+ by the Initial Developer in the file described in Exhibit A.
+
+ EXHIBIT A -Mozilla Public License.
+
+ ``The contents of this file are subject to the Mozilla Public License
+ Version 1.1 (the "License"); you may not use this file except in
+ compliance with the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS"
+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ License for the specific language governing rights and limitations
+ under the License.
+
+ The Original Code is ______________________________________.
+
+ The Initial Developer of the Original Code is ________________________.
+ Portions created by ______________________ are Copyright (C) ______
+ _______________________. All Rights Reserved.
+
+ Contributor(s): ______________________________________.
+
+ Alternatively, the contents of this file may be used under the terms
+ of the _____ license (the "[___] License"), in which case the
+ provisions of [______] License are applicable instead of those
+ above. If you wish to allow use of your version of this file only
+ under the terms of the [____] License and not to allow others to use
+ your version of this file under the MPL, indicate your decision by
+ deleting the provisions above and replace them with the notice and
+ other provisions required by the [___] License. If you do not delete
+ the provisions above, a recipient may use your version of this file
+ under either the MPL or the [___] License."
+
+ [NOTE: The text of this Exhibit A may differ slightly from the text of
+ the notices in the Source Code files of the Original Code. You should
+ use the text of this Exhibit A rather than the text found in the
+ Original Code Source Code for Your Modifications.]
+License: LGPL-2.1
+
+Files: ext-sources/*cppunit*
+Copyright: (c)Copyright 2000, Baptiste Lepilleur
+License: LGPL-2.1
+
+Files: ext-sources/*curl*
+Copyright: Copyright (c) 1996 - 2004, Daniel Stenberg
+License: other
+ Permission to use, copy, modify, and distribute this software for any purpose
+ with or without fee is hereby granted, provided that the above copyright
+ notice and this permission notice appear in all copies.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
+ OR OTHER DEALINGS IN THE SOFTWARE.
+
+ Except as contained in this notice, the name of a copyright holder shall not
+ be used in advertising or otherwise to promote the sale, use or other dealings
+ in this Software without prior written authorization of the copyright holder.
+
+Files: dmake/*
+Copyright: Copyright (c) 1992,1994 by Dennis Vadura
+Copyright: Copyright (c) 1996 by WTI Corp.
+License: GPL-1
+
+Files: dmake/dbug/dbug/*
+Copyright: Copyright Abandoned, 1987, Fred Fish
+License: PD
+ /******************************************************************************
+ * *
+ * N O T I C E *
+ * *
+ * Copyright Abandoned, 1987, Fred Fish *
+ * *
+ * *
+ * This previously copyrighted work has been placed into the public *
+ * domain by the author and may be freely used for any purpose, *
+ * private or commercial. *
+ * *
+ * Because of the number of inquiries I was receiving about the use *
+ * of this product in commercially developed works I have decided to *
+ * simply make it public domain to further its unrestricted use. I *
+ * specifically would be most happy to see this material become a *
+ * part of the standard Unix distributions by AT&T and the Berkeley *
+ * Computer Science Research Group, and a standard part of the GNU *
+ * system from the Free Software Foundation. *
+ * *
+ * I would appreciate it, as a courtesy, if this notice is left in *
+ * all copies and derivative works. Thank you. *
+ * *
+ * The author makes no warranty of any kind with respect to this *
+ * product and explicitly disclaims any implied warranties of mer- *
+ * chantability or fitness for any particular purpose. *
+ * *
+ ******************************************************************************
+ */
+
+
+Files: dmake/dbug/malloc/*
+Copyright: (c) Copyright 1990 Conor P. Cahill (uunet!virtech!cpcahil).
+Licsense: other
+/*
+ * (c) Copyright 1990 Conor P. Cahill (uunet!virtech!cpcahil).
+ * You may copy, distribute, and use this software as long as this
+ * copyright statement is not removed.
+ */
+
+Files: ext-sources/*epm*
+Copyright: Copyright 1999-2003 by Easy Software Products
+License: GPL-2+
+
+Files: ext-sources/*expat+
+Copyright: Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
+License: MIT
+
+Files: ext-sources/*glibc*stub*
+Copyright: Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
+License: LGPL-2+
+ On Debian systems the full text of the GNU LGPL v2 can be found
+ in the `/usr/share/common-licenses/LGPL-2' file.
+
+Files: ext-sources/*hsqldb*
+Copyright: Copyright (c) 2001-2008, The HSQL Development Group
+License: BSD-C3
+
+Files: ext-sources/*hunspell*
+Copyright: Copyright (C) 1995, 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
+Copyright: Copyright (C) Kevin Hendricks, 2001-2002
+Copyright: Copyright (C) 2002-2008 László Németh
+Copyright: Copyright (C) 2000 Bjoern Jacke
+Copyright: 2000 by Sun Microsystems, Inc.
+License: GPL-2 | LGPL-2.1 | MPL-1.1
+License: GPL-2
+ On Debian systems the full text of the GNU GPL v2 can be found
+ in the `/usr/share/common-licenses/GPL-2' file.
+
+Files: ext-sources/*hyphen*
+Copyright: (C) 1998 Raph Levien
+Copyright: (C) 2001 ALTLinux, Moscow
+Copyright: (C) 2006, 2007, 2008 László Németh
+License: GPL-2 | LGPL-2.1 | MPL-1.1
+
+Files: ext-sources/*SampleICC*
+Copyright: Copyright (c) 2003-2006 The International Color Consortiu
+License: BSD-C4
+
+Files: ext-sources/*icu*
+Copyright: Copyright (c) 1995-2008 International Business Machines Corporation and others
+License: BSD-C4
+
+Files: ext-sources/*jpeg*
+Copyright: (C) 1991-1998, Thomas G. Lane
+License: other
+ Permission is hereby granted to use, copy, modify, and distribute this
+ software (or portions thereof) for any purpose, without fee, subject to these
+ conditions:
+ (1) If any part of the source code for this software is distributed, then this
+ README file must be included, with this copyright and no-warranty notice
+ unaltered; and any additions, deletions, or changes to the original files
+ must be clearly indicated in accompanying documentation.
+ (2) If only executable code is distributed, then the accompanying
+ documentation must state that "this software is based in part on the work of
+ the Independent JPEG Group".
+ (3) Permission for use of this software is granted only if the user accepts
+ full responsibility for any undesirable consequences; the authors accept
+ NO LIABILITY for damages of any kind.
+
+Files: jfreereport/download/*
+Copyright: Copyright 2000-2005, by Object Refinery Limited
+Copyright: Copyright 2005-2007, by Pentaho Corporation
+License: LGPL2+
+
+Files: jfreereport/download/sacjava*
+Copyright � 1994-2002 World Wide Web Consortium
+License: W3C-Software
+
+Files: jfreereport/download/flute*
+Copyright � 1994-2002 World Wide Web Consortium
+License: W3C-Software
+
+Files: ext-sources/*libexttextcat*
+Copyright: Copyright (c) 2003, WiseGuys Internet B.V.
+Copyright: Copyright 2000, 2010 Oracle and/or its affiliates.
+License: BSD-C3
+
+Files: MathMLDTD/math.dtd
+Copyright: Copyright 1997-1999 World Wide Web Consortium
+License: W3C-Software
+
+Files: ext-sources/*xmlsec*
+Copyright: Copyright (C) 2002-2003 Aleksey Sanin
+Copyright: Copyright (c) 2003 America Online, Inc.
+License: other
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is fur-
+ nished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ ALEKSEY SANIN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+ NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+ Except as contained in this notice, the name of Aleksey Sanin shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from him.
+ License: MPL-1.1
+
+Files: ext-sources/*libxslt*
+Copyright: Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved.
+License: other
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is fur-
+ nished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+ NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+ Except as contained in this notice, the name of Daniel Veillard shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from
+
+Files: ext-sources/*lp_solve*
+Copyright: Copyright (c) 1998-2001 by the University of Florida
+Copyright: Copyright © 1991, 2007 Free Software Foundation, Inc
+License: LGPL-2.1
+License: other
+ Permission is hereby granted to use or copy this program for any
+ purpose, provided the above notices are retained on all copies.
+ User documentation of any code that uses this code must cite the
+ Authors, the Copyright, and "Used by permission." If this code is
+ accessible from within Matlab, then typing "help colamd" and "help
+ symamd" must cite the Authors. Permission to modify the code and to
+ distribute modified code is granted, provided the above notices are
+ retained, and a notice that the code was modified is included with the
+ above copyright notice. You must also retain the Availability
+ information below, of the original version.
+
+Files: ext-sources/*lucene*
+Copyright: Copyright 2004 The Apache Software Foundation
+Copyright: Copyright 2005 The Apache Software Foundation
+Copyright: Copyright 2007 The Apache Software Foundation
+License: Apache-2.0
+
+Files: Mesa/inc/*
+Copyright: Copyright (C) 1999-2007 Brian Paul
+Copyright: Copyright (c) 2007 The Khronos Group Inc.
+License: other
+ ** Permission is hereby granted, free of charge, to any person obtaining a
+ ** copy of this software and/or associated documentation files (the
+ ** "Materials"), to deal in the Materials without restriction, including
+ ** without limitation the rights to use, copy, modify, merge, publish,
+ ** distribute, sublicense, and/or sell copies of the Materials, and to
+ ** permit persons to whom the Materials are furnished to do so, subject to
+ ** the following conditions:
+ **
+ ** The above copyright notice and this permission notice shall be included
+ ** in all copies or substantial portions of the Materials.
+ **
+ ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIA
+
+Files: ext-sources/*neon*
+Copyright: Copyright (C) 1999-2006 Joe Orton <joe@manyfish.co.uk>
+Copyright: Copyright (C) 1999-2000 Tommi Komulainen <Tommi.Komulainen@iki.fi>
+Copyright: Copyright (C) 1999-2000 Peter Boos <pedib@colorfullife.com>
+Copyright: Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+Copyright: Copyright (C) 2004 Aleix Conchillo Flaque <aleix@member.fsf.org>
+Copyright: Copyright (C) 2004 Jiang Lei <tristone@deluxe.ocn.ne.jp>
+Copyright: Copyright (C) 2004-2005 Vladimir Berezniker @ http://public.xdi.org
+License: LGPL
+License: GPL
+License: other
+ # This file is free software; you may copy and/or distribute it with
+ # or without modifications, as long as this notice is preserved.
+ # This software is distributed in the hope that it will be useful, but
+ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even
+ # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ # PURPOSE.
+
+Files: np_sdk/mozsrc/*
+Copyright: Copyright (C) 1998 Netscape Communications Corporation
+License: MPL-1.1
+
+Files: ext-sources/*openssl*
+Copyright: Copyright (c) 1998-2007 The OpenSSL Project
+License: other
+/* ====================================================================
+ * Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. All advertising materials mentioning features or use of this
+ * software must display the following acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
+ *
+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. For written permission, please contact
+ * openssl-core@openssl.org.
+ *
+ * 5. Products derived from this software may not be called "OpenSSL"
+ * nor may "OpenSSL" appear in their names without prior written
+ * permission of the OpenSSL Project.
+ *
+ * 6. Redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This product includes cryptographic software written by Eric Young
+ * (eay@cryptsoft.com). This product includes software written by Tim
+ * Hudson (tjh@cryptsoft.com).
+ *
+ */
+
+ Original SSLeay License
+ -----------------------
+
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
+ * All rights reserved.
+ *
+ * This package is an SSL implementation written
+ * by Eric Young (eay@cryptsoft.com).
+ * The implementation was written so as to conform with Netscapes SSL.
+ *
+ * This library is free for commercial and non-commercial use as long as
+ * the following conditions are aheared to. The following conditions
+ * apply to all code found in this distribution, be it the RC4, RSA,
+ * lhash, DES, etc., code; not just the SSL code. The SSL documentation
+ * included with this distribution is covered by the same copyright terms
+ * except that the holder is Tim Hudson (tjh@cryptsoft.com).
+ *
+ * Copyright remains Eric Young's, and as such any Copyright notices in
+ * the code are not to be removed.
+ * If this package is used in a product, Eric Young should be given attribution
+ * as the author of the parts of the library used.
+ * This can be in the form of a textual message at program startup or
+ * in documentation (online or textual) provided with the package.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * "This product includes cryptographic software written by
+ * Eric Young (eay@cryptsoft.com)"
+ * The word 'cryptographic' can be left out if the rouines from the library
+ * being used are not cryptographic related :-).
+ * 4. If you include any Windows specific code (or a derivative thereof) from
+ * the apps directory (application code) you must include an acknowledgement:
+ * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
+ *
+ * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * The licence and distribution terms for any publically available version or
+ * derivative of this code cannot be changed. i.e. this code cannot simply be
+ * copied and put under another distribution licence
+ * [including the GNU Public Licence.]
+ */
+
+Files: ext-sources/*Python*
+Copyright: Copyright (c) 2001, 2002, 2003, 2004 Python Software Foundation
+Copyright: Copyright (c) 2000 BeOpen.com
+Copyright: Copyright (c) 1995-2001 Corporation for National Research Initiatives
+Copyright: Copyright (c) 1991-1995 Stichting Mathematisch Centrum
+License: PSF-2
+
+Files: ext-sources/*redland*
+Copyright: Copyright (C) 2000-2007 David Beckett
+Copyright: Copyright (C) 2000-2005 University of Bristol
+License: LGPL-2 | Apache-2.0
+
+Files: regexp/source/*
+Copyright (C) 1993, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc
+License: LGPL-3
+
+Files: ext-sources/*rhino*
+Copyright: Copyright (C) 1997-2000 Netscape Communications Corporation
+Copyright: Copyright (C) 2000 See Beyond Communications Corporation
+License: MPL-1.1 | GPL-2 | LGPL-2
+
+Files: sane/inc/sane.h
+Copyright: Copyright (C) 1997 David Mosberger-Tang and Andreas Beck
+License: PD
+ This file is in the public domain. You may use and modify it as
+ you see fit, as long as this copyright message is included and
+ that there is an indication as to what modifications have been
+ made (if any).
+
+Files: ext-sources/*source-9.0.0.7-bj.zip
+Copyright: Copyright (c) 1998, 1999 James Clark
+Copyright ? 1999 CERN - European Organization for Nuclear Research
+License: other
+ Permission to use, copy, moNumbererdify, distribute and sell this software and its documentation for any purpose
+ is hereby granted without fee, provided that the above copyright notice appear in all copies and
+ that both that copyright notice and this permission notice appear in supporting documentation.
+ CERN makes no representations about the suitability of this software for any purpose.
+ It is provided "as is" without expressed or implied warranty.
+License: MPL-1.0
+ MOZILLA PUBLIC LICENSE
+ Version 1.0
+ ______________
+
+ 1. Definitions.
+ 1.1. ``Contributor'' means each entity that creates or contributes to
+ the creation of Modifications.
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+ NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+ Except as contained in this notice, the name of Daniel Veillard shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from him.
+
+ Files: libxmlsec/download/*
+ Copyright: Copyright (C) 2002-2003 Aleksey Sanin
+ Copyright: Copyright (c) 2003 America Online, Inc.
+ License: other
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is fur-
+ nished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ ALEKSEY SANIN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+ NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+ Except as contained in this notice, the name of Aleksey Sanin shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from him.
+ License: MPL-1.1
+
+ Files: libxslt/download/*
+ Copyright: Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved.
+ License: other
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is fur-
+ nished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+ NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+ Except as contained in this notice, the name of Daniel Veillard shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from
+
+Files: ext-sources/*stax-api*
+License: CDDL-1.0 | GPPL-2
+License: CDDL-1.0
+ COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
+
+ * 1. Definitions.
+ + 1.1. "Contributor" means each individual or entity that
+ creates or contributes to the creation of Modifications.
+ + 1.2. "Contributor Version" means the combination of the
+ Original Software, prior Modifications used by a Contributor
+ (if any), and the Modifications made by that particular
+ Contributor.
+ + 1.3. "Covered Software" means (a) the Original Software, or
+ (b) Modifications, or (c) the combination of files containing
+ Original Software with files containing Modifications, in each
+ case including portions thereof.
+ + 1.4. "Executable" means the Covered Software in any form other
+ than Source Code.
+ + 1.5. "Initial Developer" means the individual or entity that
+ first makes Original Software available under this License.
+ + 1.6. "Larger Work" means a work which combines Covered
+ Software or portions thereof with code not governed by the
+ terms of this License.
+ + 1.7. "License" means this document.
+ + 1.8. "Licensable" means having the right to grant, to the
+ maximum extent possible, whether at the time of the initial
+ grant or subsequently acquired, any and all of the rights
+ conveyed herein.
+ + 1.9. "Modifications" means the Source Code and Executable form
+ of any of the following:
+ o A. Any file that results from an addition to, deletion
+ from or modification of the contents of a file containing
+ Original Software or previous Modifications;
+ o B. Any new file that contains any part of the Original
+ Software or previous Modification; or
+ o C. Any new file that is contributed or otherwise made
+ available under the terms of this License.
+ + 1.10. "Original Software" means the Source Code and Executable
+ form of computer software code that is originally released
+ under this License.
+ + 1.11. "Patent Claims" means any patent claim(s), now owned or
+ hereafter acquired, including without limitation, method,
+ process, and apparatus claims, in any patent Licensable by
+ not apply to this License. You agree that You alone are responsible
+ for compliance with the United States export administration
+ regulations (and the export control laws and regulation of any
+ other countries) when You use, distribute or otherwise make
+ available any Covered Software.
+ * 10. RESPONSIBILITY FOR CLAIMS.
+ As between Initial Developer and the Contributors, each party is
+ responsible for claims and damages arising, directly or indirectly,
+ out of its utilization of rights under this License and You agree
+ to work with Initial Developer and Contributors to distribute such
+ responsibility on an equitable basis. Nothing herein is intended or
+ shall be deemed to constitute any admission of liability.
+ * NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND
+ DISTRIBUTION LICENSE (CDDL)
+ The code released under the CDDL shall be governed by the laws of
+ the State of California (excluding conflict-of-law provisions). Any
+ litigation relating to this License shall be subject to the
+ jurisdiction of the Federal Courts of the Northern District of
+ California and the state courts of the State of California, with
+ venue lying in Santa Clara County, California.
+
+Files: ext-sources/*STLport*
+Copyright: Copyright (c) 1994 Hewlett-Packard Company
+Copyright: Copyright (c) 1996-1999 Silicon Graphics Computer Systems, Inc.
+Copyright: Copyright (c) 1997 Moscow Center for SPARC Technology
+Copyright: Copyright (c) 1999, 2000, 2001 Boris Fomitchev
+License: other
+ * Permission to use or copy this software for any purpose is hereby granted
+ * without fee, provided the above notices are retained on all copies.
+ * Permission to modify the code and to distribute modified code is granted,
+ * provided the above notices are retained, and a notice that the code was
+ * modified is included with the above copyright notice
+
+Files: ext-sources/*tomcat*
+Copyright: Copyright 1999-2002,2004 The Apache Software Foundation
+License: Apache-2.0
+
+Files: twain/inc/twain.h
+Copyright (C) 1991, 1992 TWAIN Working Group
+Copyright (C) 1997 TWAIN Working Group
+Copyright © 1998 TWAIN Working Group
+Copyright © 2000 TWAIN Working Group
+License: other
+ The TWAIN Working Group grants customer ("Customer") the worldwide,
+ royalty-free, non-exclusive license to reproduce and distribute the
+ software and documentation of the TWAIN toolkit ("TWAIN Toolkit"). The
+ TWAIN Toolkit was designed to be used by third parties to assist them in
+ becoming compliant with the TWAIN standard, but it has not been developed
+ to the standards of a commercial product. Consequently, the TWAIN toolkit
+ is provided AS IS without any warranty. THE TWAIN Working Group disclaim
+ all warranties in the TWAIN toolkit whether implied, express or statutory,
+ including, without limitation, the implied warranties of merchantability,
+ noninfringement of third party rights and fitness for a particular
+ purpose. The TWAIN Working Group disclaims all liability for damages,
+ whether direct, indirect, special, incidental, or consequential, arising
+ from the reproduction, distribution, modification, or other use of the
+ TWAIN Toolkit.
+ As a condition of this license, Customer agrees to include in software
+ programs based in whole or in part on the TWAIN Toolkit the following
+ providions in (i) the header or similar file in such software and (ii)
+ prominently in its documentation and to require its sublicensees to
+ include these provisions in similar locations: The TWAIN Toolkit is
+ distributed as is. The developer and distributors of the TWAIN Toolkit
+ expressly disclaim all implied, express or statutory warranties including,
+ without limitation, the implied warranties of merchantability,
+ noninfringement of third party rights and fitness for a particular
+ purpose. Neither the developers nor the distributors will be liable for
+ damages, whether direct, indirect, special, incidental, or consequential,
+ as a result of the reproduction, modification, distribution or other use
+ of the TWAIN Toolkit.
+
+Files: unixODBC/inc/*
+License: LGPL
+
+Files: ext-sources/*vigra*
+Copyright 1998-2001 by Ullrich Koethe
+License: MIT/X
+
+Files: x11_extensions/inc/*randr*
+Copyright: Copyright © 2000, Compaq Computer Corporation
+Copyright: Copyright © 2002, Hewlett Packard, Inc
+License: MIT/X
+
+Files: x11_extensions/inc/*render*
+Copyright: Copyright © 2000 SuSE, Inc.
+License: MIT/X
+
+Files: ext-sources/*xpdf*
+Copyright: 1996-2007 Glyph & Cog, LLC.
+License: GPL-2
+
+Files: ext-sources/*zlib*
+Copyright: Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler
+License: ZLIB
+
+Files: ext-sources/*mdds*
+Copyright: Copyright (c) 2010 Kohei Yoshida
+License: MIT/X
--- /dev/null
+fonts-opensymbol: duplicate-font-file usr/share/fonts/truetype/openoffice/opens___.ttf also in ttf-opensymbol
--- /dev/null
+libmythes-dev: executable-not-elf-or-script .usr/share/mythes/th_gen_idx.pl
--- /dev/null
+libreoffice-base-core: binary-or-shlib-defines-rpath
--- /dev/null
+report-with: libreoffice-core
+package-status: unixodbc libmyodbc odbc-postgresql libsqliteodbc tdsodbc mdbtools libmysql-java libpg-java libsapdbc-java
--- /dev/null
+libreoffice-base: binary-or-shlib-defines-rpath
+libreoffice-base: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-base.xpm
+libreoffice-base: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-base:4
+libreoffice-base: desktop-command-not-in-package usr/share/applications/libreoffice@VER@-base.desktop libreoffice
+libreoffice-base: menu-command-not-in-package usr/share/menu/libreoffice-base:4 usr/bin/libreoffice
--- /dev/null
+debian/tmp/usr/share/man/man1/lobase.1.gz
--- /dev/null
+?package(libreoffice-base):needs="X11" section="Applications/Data Management" \
+ title="LibreOffice Base" command="/usr/bin/libreoffice --base"\
+ kderemove="y"\
+ icon="/usr/share/icons/hicolor/32x32/apps/libreoffice-base.xpm"
--- /dev/null
+###
+# shared-mime-info
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.database; soffice -no-oosplash --base '%s'; edit=soffice -no-oosplash --base '%s'; print=soffice -no-oosplash --base -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Database"; nametemplate=%s.odb; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.base; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; description="OpenOffice.org Database"; nametemplate=%s.sdb; priority=8
+
+#
+###
--- /dev/null
+report-with: libreoffice-core
--- /dev/null
+libreoffice-calc: binary-or-shlib-defines-rpath
+libreoffice-calc: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-calc.xpm
+libreoffice-calc: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-calc:5
+libreoffice-calc: desktop-command-not-in-package usr/share/applications/libreoffice@VER@-calc.desktop libreoffice
+libreoffice-calc: menu-command-not-in-package usr/share/menu/libreoffice-calc:5 usr/bin/libreoffice
--- /dev/null
+debian/tmp/usr/share/man/man1/localc.1.gz
+
--- /dev/null
+?package(libreoffice-calc):needs="X11" section="Applications/Office"\
+ title="LibreOffice Calc" command="/usr/bin/libreoffice --calc"\
+ hints="Spreadsheets"\
+ kderemove="y"\
+ icon="/usr/share/icons/hicolor/32x32/apps/libreoffice-calc.xpm"
--- /dev/null
+###
+# shared-mime-info
+
+# Generic
+text/csv; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="CSV Document"; nametemplate=%s.csv; priority=3
+text/spreadsheet; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="Spreadsheet Interchange Document"; nametemplate=%s.slk; priority=3
+
+# Corel Quattro Pro
+application/x-quattropro; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="Quattro Pro 6 for Windows Spreadsheet"; nametemplate=%s.wb2; priority=3
+
+# dBase dBASE
+application/x-dbf; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="xBase Document"; nametemplate=%s.dbf; priority=3
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-excel.sheet.macroEnabled.12; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet with Macros Enabled"; nametemplate=%s.xlsm; priority=3
+application/vnd.ms-excel.template.macroEnabled.12; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet Template with Macros Enabled"; nametemplate=%s.xltm; priority=3
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet"; nametemplate=%s.xlsx; priority=3
+application/vnd.openxmlformats-officedocument.spreadsheetml.template; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet Template"; nametemplate=%s.xltx; priority=3
+
+# IBM Lotus 1-2-3
+application/vnd.lotus-1-2-3; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="Lotus 1-2-3 spreadsheet"; nametemplate=%s.123; priority=3
+
+# Microsoft Excel
+application/vnd.ms-excel; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="Microsoft Excel Document"; nametemplate=%s.xls; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.chart; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; print=soffice -no-oosplash --calc -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Chart"; nametemplate=%s.odc; priority=9
+application/vnd.oasis.opendocument.spreadsheet; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; print=soffice -no-oosplash --calc -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Spreadsheet"; nametemplate=%s.ods; priority=9
+application/vnd.oasis.opendocument.spreadsheet-template; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; print=soffice -no-oosplash --calc -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Spreadsheet Template"; nametemplate=%s.ots; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.calc; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Spreadsheet"; nametemplate=%s.sxc; priority=8
+application/vnd.sun.xml.calc.template; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Spreadsheet Template"; nametemplate=%s.stc; priority=8
+
+#
+###
+
--- /dev/null
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-database.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.database.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-drawing.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.drawing.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-drawing-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.drawing-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-formula.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.formula.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-master-document.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.master-document.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-presentation.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.presentation.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-presentation-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.presentation-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-spreadsheet.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.spreadsheet.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-spreadsheet-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.spreadsheet-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-text.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.text.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-text-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.text-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreofficeoasis-web-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.web-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-database.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.database.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-drawing.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.drawing.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-drawing-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.drawing-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-formula.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.formula.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-master-document.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.master-document.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-presentation.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.presentation.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-presentation-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.presentation-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-spreadsheet.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.spreadsheet.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-spreadsheet-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.spreadsheet-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-text.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.text.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-text-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.text-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreofficeoasis-web-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.web-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-database.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.database.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-drawing.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.drawing.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-drawing-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.drawing-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-formula.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.formula.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-master-document.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.master-document.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-presentation.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.presentation.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-presentation-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.presentation-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-spreadsheet.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.spreadsheet.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-spreadsheet-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.spreadsheet-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-text.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.text.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-text-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.text-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreofficeoasis-web-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.web-template.png
+@OODIR@/share/xdg/startcenter.desktop usr/share/applications/libreoffice-startcenter.desktop
--- /dev/null
+libreoffice-common: file-missing-in-md5sums var/lib/libreoffice/share/config/javasettingsunopkginstall.xml
--- /dev/null
+debian/tmp/usr/share/man/man1/libreoffice.1.gz
+debian/tmp/usr/share/man/man1/loffice.1.gz
+debian/tmp/usr/share/man/man1/unopkg.1.gz
+debian/tmp/usr/share/man/man1/lofromtemplate.1.gz
--- /dev/null
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "triggered" ]; then
+ for triggername in $2; do
+ case "$triggername" in
+ # new "bundled" extensions (since 3.3)
+ "/@OODIR@/share/extensions")
+ sync_extensions
+ ;;
+ esac
+ done
+fi
+
+if [ "$1" = "configure" ]; then
+ dpkg-maintscript-helper rm_conffile "/etc/bash_completion.d/ooffice.sh" 1:3.3.0~rc4-2 libreoffice-common -- "$@"
+
+ dpkg-maintscript-helper mv_conffile \
+ "/etc/openoffice/psprint.conf" "/etc/libreoffice/psprint.conf" "" libreoffice-common -- "$@"
+ dpkg-maintscript-helper mv_conffile \
+ "/etc/openoffice/sofficerc" "/etc/libreoffice/sofficerc" "" libreoffice-common -- "$@"
+ dpkg-maintscript-helper mv_conffile \
+ "/etc/openoffice/soffice.sh" "/etc/libreoffice/soffice.sh" "" libreoffice-common -- "$@"
+
+ # try to remove, hopefully empty now
+ rmdir /etc/openoffice 2>/dev/null || true
+
+ if dpkg --compare-versions "$2" lt "1:3.3.0-3"; then
+ dpkg-trigger /@OODIR@/share/extensions
+ fi
+fi
+
+#DEBHELPER#
+
--- /dev/null
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+case "$1" in
+ remove|abort-install|abort-upgrade)
+ dpkg-maintscript-helper rm_conffile "/etc/bash_completion.d/ooffice.sh" 1:3.3.0~rc4-2 libreoffice-common -- "$@"
+
+ dpkg-maintscript-helper mv_conffile \
+ "/etc/openoffice/psprint.conf" "/etc/libreoffice/psprint.conf" "" libreoffice-common -- "$@"
+ dpkg-maintscript-helper mv_conffile \
+ "/etc/openoffice/sofficerc" "/etc/libreoffice/sofficerc" "" libreoffice-common -- "$@"
+ dpkg-maintscript-helper mv_conffile \
+ "/etc/openoffice/soffice.sh" "/etc/libreoffice/soffice.sh" "" libreoffice-common -- "$@"
+ rm -rf /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/prereg/bundled
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/prereg/ || true
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/ || true
+ # this belongs to -core, but won't work until we have -common stuff removed, too, so try here again
+ # in adduition to -core
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/program/ || true
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g` || true
+ # and try to remove /@OOBRANDDIR@ itself
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g` || true
+ ;;
+esac
+
+#DEBHELPER#
--- /dev/null
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+case "$1" in install|upgrade)
+ # move a already-filled in javasettingsunopkginstall.xml to the new
+ # location on upgrades
+ if [ ! -e `echo /@OODIR@ | sed -e s/usr/var/`/share/config/javasettingsunopkginstall.xml ]; then
+ if [ ! -d `echo /@OODIR@ | sed -e s/usr/var/`/share/config ]; then
+ mkdir -p `echo /@OODIR@ | sed -e s/usr/var/`/share/config
+ fi
+ if [ -e `echo /@OODIR@ | sed -e s/usr/var/ | sed -e s/libre/open/`/config/javasettingsunopkginstall.xml ]; then
+ mv `echo /@OODIR@ | sed -e s/usr/var/ | sed -e s/libre/open/`/share/config/javasettingsunopkginstall.xml \
+ `echo /@OODIR@ | sed -e s/usr/var/`/share/config/javasettingsunopkginstall.xml
+ fi
+ fi
+
+ dpkg-maintscript-helper rm_conffile "/etc/bash_completion.d/ooffice.sh" 1:3.3.0~rc4-2 libreoffice-common -- "$@"
+ if [ -n "$2" ] && dpkg --compare-versions "$2" lt "1:3.3.0-3"; then
+ if [ -d /share ]; then
+ rm -f /share/config/javasettingsunopkginstall.xml
+ rmdir /share/config 2> /dev/null && rmdir /share 2> /dev/null || true
+ fi
+
+ if [ -d /user ]; then
+ for i in shared tmp; do
+ rmdir /user/extensions/$i/extensions 2> /dev/null || true
+ rm -f /user/extensions/$i/extensions.db
+ rm -f /user/extensions/$i/lastsynchronized
+ rm -f /user/extensions/$i/log.txt
+ rmdir /user/extensions/$i/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/extensions/$i/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend 2> /dev/null || true
+ rm -f /user/extensions/$i/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml || true
+ rm -f /user/extensions/$i/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db || true
+ rmdir /user/extensions/$i/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/extensions/$i/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend 2> /dev/null || true
+ rm -f /user/extensions/$i/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml || true
+ rmdir /user/extensions/$i/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/extensions/$i/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/extensions/$i/registry/com.sun.star.comp.deployment.sfwk.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/extensions/$i/registry 2> /dev/null && rmdir /user/extensions/$i 2> /dev/null || true
+ done
+ rmdir /user/extensions/ 2> /dev/null && rmdir /user 2> /dev/null || true
+
+ rm -f /user/uno_packages/cache/log.txt
+ rmdir /user/uno_packages/cache/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/uno_packages/cache/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend 2> /dev/null || true
+ rm -f /user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml || true
+ rm -f /user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db || true
+ rmdir /user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/uno_packages/cache/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend 2> /dev/null || true
+ rm -f /user/uno_packages/cache/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml || true
+ rmdir /user/uno_packages/cache/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/uno_packages/cache/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/uno_packages/cache/registry/com.sun.star.comp.deployment.sfwk.PackageRegistryBackend 2> /dev/null || true
+ rmdir /user/uno_packages/cache/uno_packages 2> /dev/null || true
+ rm -f /user/uno_packages/cache/uno_packages.db 2> /dev/null || true
+
+
+ rmdir /user/uno_packages/cache/registry 2> /dev/null && rmdir /user/uno_packages/cache 2> /dev/null && rmdir /user/uno_packages 2> /dev/null || true
+
+ rmdir /user 2> /dev/null || true
+ fi
+ fi
+
+ dpkg-maintscript-helper mv_conffile \
+ "/etc/openoffice/psprint.conf" "/etc/libreoffice/psprint.conf" "" libreoffice-common -- "$@"
+ dpkg-maintscript-helper mv_conffile \
+ "/etc/openoffice/sofficerc" "/etc/libreoffice/sofficerc" "" libreoffice-common -- "$@"
+ dpkg-maintscript-helper mv_conffile \
+ "/etc/openoffice/soffice.sh" "/etc/libreoffice/soffice.sh" "" libreoffice-common -- "$@"
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# debian-l10n-english@lists.debian.org for advice.
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: shared/openofficeorg-running
+Type: error
+_Description: LibreOffice running
+ LibreOffice is running right now. This can cause problems with
+ (de-)registration of components and extensions.
+ .
+ You should close all running instances of LibreOffice (including
+ any currently running Quickstarter) before proceeding with the package
+ upgrade.
+
--- /dev/null
+interest /@OODIR@/share/extensions
--- /dev/null
+report-with: libreoffice-common libreoffice-java-common ttf-opensymbol
+package-status: libxrender1 libxinerama1 libsane iceweasel firefox icedove iceape-browser libreoffice-filter-binfilter pstoedit imagemagick fglrx-driver nvidia-glx nvidia-glx-legacy
--- /dev/null
+#!/bin/sh
+
+# list all installed extensions. --bundled, --shared and non-shared
+/usr/lib/libreoffice/program/unopkg list --bundled >&3
+/usr/lib/libreoffice/program/unopkg list --shared >&3
+/usr/lib/libreoffice/program/unopkg list >&3
--- /dev/null
+libreoffice-core: binary-or-shlib-defines-rpath
+libreoffice-core: postinst-uses-db-input
--- /dev/null
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "remove" ]; then
+ rm -rf /var/spool/libreoffice@VER@
+fi
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" -o "$1" = "install" ]; then
+ rm -f /`echo @OODIR@ | sed -e s,usr/,var/,g`/basis3.4/program/services.rdb
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/basis3.4/program/ 2>/dev/null || true
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/basis3.4 2>/dev/null || true
+fi
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+libreoffice-dev: binary-or-shlib-defines-rpath
+libreoffice-dev: csh-considered-harmful
+libreoffice-dev: wrong-section-according-to-package-name libreoffice-dev => libdevel
--- /dev/null
+report-with: libreoffice-core
--- /dev/null
+libreoffice-draw: binary-or-shlib-defines-rpath
+libreoffice-draw: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-draw.xpm
+libreoffice-draw: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-draw:5
+libreoffice-draw: desktop-command-not-in-package usr/share/applications/libreoffice@VER@-draw.desktop libreoffice
+libreoffice-draw: menu-command-not-in-package usr/share/menu/libreoffice-draw:5 usr/bin/libreoffice
--- /dev/null
+debian/tmp/usr/share/man/man1/lodraw.1.gz
--- /dev/null
+?package(libreoffice-draw):needs="X11" section="Applications/Graphics"\
+ title="LibreOffice Draw" command="/usr/bin/libreoffice --draw"\
+ hints="Drawing"\
+ kderemove="y"\
+ icon="/usr/share/icons/hicolor/32x32/apps/libreoffice-draw.xpm"
--- /dev/null
+###
+# shared-mime-info
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.graphics; soffice -no-oosplash --draw '%s'; edit=soffice -no-oosplash --draw '%s'; print=soffice -no-oosplash --draw -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Drawing"; nametemplate=%s.odg; priority=9
+application/vnd.oasis.opendocument.graphics-template; soffice -no-oosplash --draw '%s'; edit=soffice -no-oosplash --draw '%s'; print=soffice -no-oosplash --draw -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Drawing Template"; nametemplate=%s.otg; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.draw; soffice -no-oosplash --draw '%s'; edit=soffice -no-oosplash --draw '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Drawing"; nametemplate=%s.sxd; priority=8
+application/vnd.sun.xml.draw.template; soffice -no-oosplash --draw '%s'; edit=soffice -no-oosplash --draw '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Drawing Template"; nametemplate=%s.std; priority=8
+
+#
+###
--- /dev/null
+report-with: python-uno
--- /dev/null
+libreoffice-emailmerge: postinst-uses-db-input
--- /dev/null
+report-with: libreoffice-core evolution libreoffice-base
--- /dev/null
+libreoffice-evolution: binary-or-shlib-defines-rpath
+libreoffice-evolution: postinst-uses-db-input
--- /dev/null
+report-with: libreoffice-core
--- /dev/null
+libreoffice-filter-binfilter: binary-or-shlib-defines-rpath
+libreoffice-filter-binfilter: postinst-uses-db-input
--- /dev/null
+###
+# shared-mime-info
+
+# StarDivision StarOffice 5.0
+application/vnd.stardivision.calc; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="StarCalc 5.0"; nametemplate=%s.sdc; priority=8
+application/vnd.stardivision.chart; soffice -no-oosplash --calc '%s'; edit=soffice -no-oosplash --calc '%s'; test=test -n "$DISPLAY"; description="StarChart 5.0"; nametemplate=%s.sds; priority=8
+application/vnd.stardivision.draw; soffice -no-oosplash --draw '%s'; edit=soffice -no-oosplash --draw '%s'; test=test -n "$DISPLAY"; description="StarDraw 5.0"; nametemplate=%s.sda; priority=8
+application/vnd.stardivision.impress; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="StarImpress 5.0"; nametemplate=%s.sdd; priority=8
+application/vnd.stardivision.math; soffice -no-oosplash --math '%s'; edit=soffice -no-oosplash --math '%s'; test=test -n "$DISPLAY"; description="StarMath 5.0"; nametemplate=%s.sdf; priority=8
+application/vnd.stardivision.writer-global; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="StarWriter 5.0 Master Document"; nametemplate=%s.sgl; priority=8
+application/vnd.stardivision.writer; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="StarWriter 5.0"; nametemplate=%s.sdw; priority=8
+
+#
+###
--- /dev/null
+libreoffice-filter-mobiledev: desktop-command-not-in-package usr/share/applications/libreoffice-javafilter.desktop libreoffice
+libreoffice-filter-mobiledev: missing-classpath libreoffice-java
--- /dev/null
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+case "$1" in install|upgrade)
+ if [ -L /usr/lib/libreoffice/program/classes ]; then
+ rm /usr/lib/libreoffice/program/classes
+ mkdir /usr/lib/libreoffice/program/classes
+ fi
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+report-with: libreoffice-core libreoffice-java-common
--- /dev/null
+libreoffice-gnome: binary-or-shlib-defines-rpath
--- /dev/null
+libreoffice-gtk: binary-or-shlib-defines-rpath
--- /dev/null
+report-with: libreoffice-core libreoffice-draw
--- /dev/null
+libreoffice-impress: binary-or-shlib-defines-rpath
+libreoffice-impress: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-impress.xpm
+libreoffice-impress: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-impress:5
+libreoffice-impress: desktop-command-not-in-package usr/share/applications/libreoffice@VER@-impress.desktop libreoffice
+libreoffice-impress: menu-command-not-in-package usr/share/menu/libreoffice-impress:5 usr/bin/libreoffice
--- /dev/null
+debian/tmp/usr/share/man/man1/loimpress.1.gz
--- /dev/null
+?package(libreoffice-impress):needs="X11" section="Applications/Office"\
+ title="LibreOffice Impress" command="/usr/bin/libreoffice --impress"\
+ hints="Presentation"\
+ kderemove="y"\
+ icon="/usr/share/icons/hicolor/32x32/apps/libreoffice-impress.xpm"
--- /dev/null
+###
+# shared-mime-info
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-powerpoint.presentation.macroEnabled.12; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation with Macros Enabled"; nametemplate=%s.pptm; priority=3
+application/vnd.ms-powerpoint.slideshow.macroEnabled.12; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation Slide Show with Macros Enabled"; nametemplate=%s.ppsm; priority=3
+application/vnd.ms-powerpoint.template.macroEnabled.12; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation Template with Macros Enabled"; nametemplate=%s.potm; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.presentation; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation"; nametemplate=%s.pptx; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.slideshow; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation Slide Show"; nametemplate=%s.ppsx; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.template; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation Template"; nametemplate=%s.potx; priority=3
+
+# Microsoft PowerPoint
+application/vnd.ms-powerpoint; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="Microsoft PowerPoint Document"; nametemplate=%s.ppt; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.presentation; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; print=soffice -no-oosplash --impress -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Presentation"; nametemplate=%s.odp; priority=9
+application/vnd.oasis.opendocument.presentation-template; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; print=soffice -no-oosplash --impress -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Presentation Template"; nametemplate=%s.otp; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.impress; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Presentation"; nametemplate=%s.sxi; priority=8
+application/vnd.sun.xml.impress.template; soffice -no-oosplash --impress '%s'; edit=soffice -no-oosplash --impress '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Presentation Template"; nametemplate=%s.sti; priority=8
+
+#
+###
+
--- /dev/null
+libreoffice-kab: binary-or-shlib-defines-rpath
--- /dev/null
+libreoffice-kde: binary-or-shlib-defines-rpath
--- /dev/null
+report-with: libreoffice-core
--- /dev/null
+libreoffice-math: binary-or-shlib-defines-rpath
+libreoffice-math: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-math.xpm
+libreoffice-math: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-math:5
+libreoffice-math: desktop-command-not-in-package usr/share/applications/libreoffice@VER@-math.desktop libreoffice
+libreoffice-math: menu-command-not-in-package usr/share/menu/libreoffice-math:5 usr/bin/libreoffice
--- /dev/null
+debian/tmp/usr/share/man/man1/lomath.1.gz
--- /dev/null
+?package(libreoffice-math):needs="X11" section="Applications/Science/Mathematics"\
+ title="LibreOffice Math" command="/usr/bin/libreoffice --math"\
+ hints="Equation,Editor,Formula"\
+ kderemove="y"\
+ icon="/usr/share/icons/hicolor/32x32/apps/libreoffice-math.xpm"
--- /dev/null
+###
+# shared-mime-info
+
+# Generic
+text/mathml; soffice -no-oosplash --math '%s'; edit=soffice -no-oosplash --math '%s'; test=test -n "$DISPLAY"; description="MathML Formula"; nametemplate=%s.mml; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.formula; soffice -no-oosplash --math '%s'; edit=soffice -no-oosplash --math '%s'; print=soffice -no-oosplash --math -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Formula"; nametemplate=%s.odf; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.math; soffice -no-oosplash --math '%s'; edit=soffice -no-oosplash --math '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Formula"; nametemplate=%s.sxm; priority=8
+
+#
+###
--- /dev/null
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.star.mysql-connector-ooo-$PLATFORMID >&3
--- /dev/null
+libreoffice-mysql-connector: postinst-uses-db-input
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ rm -rf /usr/lib/libreoffice/share/extensions/mysql-connector-ooo
+ sync_extensions
+fi
+
+#DEBHELPER#
+
--- /dev/null
+activate /usr/lib/libreoffice/share/extensions
--- /dev/null
+report-with: libreoffice-core
--- /dev/null
+libreoffice-officebean: binary-or-shlib-defines-rpath
+
--- /dev/null
+report-with: libreoffice-impress fglrx-glx ia32-fglrx-glx nvidia-glx nvidia-glx-legacy
--- /dev/null
+libreoffice-ogltrans: binary-or-shlib-defines-rpath
--- /dev/null
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.star.PDFImport-@PLATFORMID@ >&3
--- /dev/null
+libreoffice-pdfimport: postinst-uses-db-input
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ rm -rf /usr/lib/libreoffice/share/extensions/pdfimport
+ sync_extensions
+fi
+
+#DEBHELPER#
+
--- /dev/null
+activate /usr/lib/libreoffice/share/extensions
--- /dev/null
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.star.PresentationMinimizer-@PLATFORMID@ >&3
--- /dev/null
+libreoffice-presentation-minimizer: postinst-uses-db-input
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ rm -rf /usr/lib/libreoffice/share/extensions/presentation-minimizer
+ sync_extensions
+fi
+
+#DEBHELPER#
+
--- /dev/null
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.PresenterScreen-@PLATFORMID@ >&3
--- /dev/null
+libreoffice-presenter-console: postinst-uses-db-input
+libreoffice-presenter-console: jar-not-in-usr-share usr/lib/libreoffice/share/extensions/presenter-screen/help/*/help.jar
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ rm -rf /usr/lib/libreoffice/share/extensions/presenter-screen
+ sync_extensions
+fi
+
+#DEBHELPER#
+
--- /dev/null
+libreoffice-report-builder-bin: binary-or-shlib-defines-rpath
--- /dev/null
+report-with: libreoffice-base
--- /dev/null
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.reportdesigner >&3
--- /dev/null
+libreoffice-report-builder: postinst-uses-db-input
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ rm -rf /usr/lib/libreoffice/share/extensions/report-builder
+ sync_extensions
+fi
+
+#DEBHELPER#
+
--- /dev/null
+activate /usr/lib/libreoffice/share/extensions
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ rm -rf /usr/lib/libreoffice/share/extensions/script-provider-for-beanshell
+ sync_extensions
+fi
+
+#DEBHELPER#
+
--- /dev/null
+activate /usr/lib/libreoffice/share/extensions
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ rm -rf /usr/lib/libreoffice/share/extensions/script-provider-for-javascript
+ sync_extensions
+fi
+
+#DEBHELPER#
+
--- /dev/null
+activate /usr/lib/libreoffice/share/extensions
--- /dev/null
+report-with: python-uno python3-uno
--- /dev/null
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.star.script.provider.ScriptProviderForPython >&3
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ rm -rf /usr/lib/libreoffice/share/extensions/script-provider-for-python
+ sync_extensions
+fi
+
+#DEBHELPER#
+
--- /dev/null
+activate /usr/lib/libreoffice/share/extensions
--- /dev/null
+libreoffice-sdbc-postgresql: postinst-uses-db-input
--- /dev/null
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.wiki-publisher >&3
--- /dev/null
+libreoffice-wiki-publisher: postinst-uses-db-input
+libreoffice-wiki-publisher: jar-not-in-usr-share usr/lib/libreoffice/share/extensions/wiki-publisher/help/*/help.jar
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ rm -rf /usr/lib/libreoffice/share/extensions/wiki-publisher
+ sync_extensions
+fi
+
+#DEBHELPER#
+
--- /dev/null
+activate /usr/lib/libreoffice/share/extensions
--- /dev/null
+report-with: libreoffice-core
--- /dev/null
+libreoffice-writer: binary-or-shlib-defines-rpath
+libreoffice-writer: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-writer.xpm
+libreoffice-writer: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-writer:5
+libreoffice-writer: desktop-command-not-in-package usr/share/applications/libreoffice@VER@-writer.desktop libreoffice
+libreoffice-writer: menu-command-not-in-package usr/share/menu/libreoffice-writer:5 usr/bin/libreoffice
--- /dev/null
+debian/tmp/usr/share/man/man1/loweb.1.gz
+debian/tmp/usr/share/man/man1/lowriter.1.gz
+
--- /dev/null
+?package(libreoffice-writer):needs="X11" section="Applications/Office"\
+ title="LibreOffice Writer" command="/usr/bin/libreoffice --writer"\
+ hints="Word Processors"\
+ kderemove="y"\
+ icon="/usr/share/icons/hicolor/32x32/apps/libreoffice-writer.xpm"
--- /dev/null
+###
+# shared-mime-info
+
+# Generic
+application/rtf; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="Rich Text Format"; nametemplate=%s.rtf; priority=3
+application/x-extension-txt; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="Plain Text Document"; nametemplate=%s.txt; priority=3
+application/x-t602; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="T602 Document"; nametemplate=%s.602; priority=3
+
+# Corel WordPerfect
+application/vnd.wordperfect; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="WordPerfect Document"; nametemplate=%s.wp; priority=3
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-word.document.macroEnabled.12; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="Office Open XML Document with Macros Enabled"; nametemplate=%s.docm; priority=3
+application/vnd.ms-word.template.macroEnabled.12; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="Office Open XML Document Template with Macros Enabled"; nametemplate=%s.dotm; priority=3
+application/vnd.openxmlformats-officedocument.wordprocessingml.document; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="Office Open XML Document"; nametemplate=%s.docx; priority=3
+application/vnd.openxmlformats-officedocument.wordprocessingml.template; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="Office Open XML Document Template"; nametemplate=%s.dotx; priority=3
+
+# Microsoft Word
+application/msword; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="Microsoft Word Document"; nametemplate=%s.doc; priority=3
+
+# Microsoft Works
+application/vnd.ms-works; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; test=test -n "$DISPLAY"; description="Microsoft Works Document"; nametemplate=%s.wps; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.text; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; print=soffice -no-oosplash --writer -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Text Document"; nametemplate=%s.odt; priority=9
+application/vnd.oasis.opendocument.text-master; soffice -no-oosplash --global '%s'; edit=soffice -no-oosplash --writer '%s'; print=soffice -no-oosplash --writer -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Master Document"; nametemplate=%s.odm; priority=9
+application/vnd.oasis.opendocument.text-template; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; print=soffice -no-oosplash --writer -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Text Document Template"; nametemplate=%s.ott; priority=9
+application/vnd.oasis.opendocument.text-web; soffice -no-oosplash --web '%s'; edit=soffice -no-oosplash --web '%s'; print=soffice -no-oosplash --web -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument HTML Document Template"; nametemplate=%s.oth; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.writer; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; description="OpenOffice.org Text Document"; nametemplate=%s.sxw; priority=8
+application/vnd.sun.xml.writer.global; soffice -no-oosplash --global '%s'; edit=soffice -no-oosplash --writer '%s'; description="OpenOffice.org Master Document"; nametemplate=%s.sxg; priority=8
+application/vnd.sun.xml.writer.template; soffice -no-oosplash --writer '%s'; edit=soffice -no-oosplash --writer '%s'; description="OpenOffice.org Text Document Template"; nametemplate=%s.stw; priority=8
+
+#
+###
+
--- /dev/null
+report-with: libreoffice-core libreoffice-writer libreoffice-calc libreoffice-base libreoffice-draw libreoffice-impress libreoffice-math
+
--- /dev/null
+mozilla-libreoffice: binary-or-shlib-defines-rpath
--- /dev/null
+local;debian/openoffice.org-dtd-officedocument1.0/@OODIR@/share/dtd/officedocument/1_0/catalog.xml;/usr/share/xml/openoffice.org-dtd-officedocument1.0/catalog.xml
+root-and-package;public;-//OpenOffice.org//DTD OfficeDocument 1.0//EN;/usr/share/xml/openoffice.org-dtd-officedocument1.0/catalog.xml
--- /dev/null
+From 63dbfa8386159c2f22b7e3ef786f3c93fd4217aa Mon Sep 17 00:00:00 2001
+From: Caolán McNamara <caolanm@redhat.com>
+Date: Mon, 28 May 2012 15:13:09 +0000
+Subject: clip max entries
+
+Signed-off-by: Petr Mladek <pmladek@suse.cz>
+---
+diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
+index 3107635..56234e2 100644
+--- a/filter/source/msfilter/msdffimp.cxx
++++ b/filter/source/msfilter/msdffimp.cxx
+@@ -6049,6 +6049,9 @@ void SvxMSDffManager::GetFidclData( sal_uInt32 nOffsDggL )
+ "escher", "FIDCL list longer than remaining bytes, ppt or parser is wrong");
+ mnIdClusters = std::min(nMaxEntriesPossible, static_cast<sal_Size>(mnIdClusters));
+
++ sal_Size nMaxEntriesAllocatable = SAL_MAX_INT32 / sizeof(FIDCL);
++ mnIdClusters = std::min(nMaxEntriesAllocatable, static_cast<sal_Size>(mnIdClusters));
++
+ mpFidcls = new FIDCL[ mnIdClusters ];
+ memset(mpFidcls, 0, mnIdClusters * sizeof(FIDCL));
+ for (sal_uInt32 i = 0; i < mnIdClusters; ++i)
+--
+cgit v0.9.0.2-2-gbebe
--- /dev/null
+From 5b278ca5fd540592951ad460d8950a931ab755a8 Mon Sep 17 00:00:00 2001
+From: Caolán McNamara <caolanm@redhat.com>
+Date: Wed, 30 May 2012 14:09:18 +0000
+Subject: use sax::Converter:: base64 code instead
+
+Change-Id: I92fd4459bed7c38ff2063899b20d24d781ac45b
+
+From b9f83fca37a3544b825de9d2f295090257d3477b Mon Sep 17 00:00:00 2001
+From: Caolán McNamara <caolanm@redhat.com>
+Date: Sat, 02 Jun 2012 22:14:45 +0000
+Subject: ThreeByteToFourByte and friends are no longer in use
+
+Change-Id: I9a2aaebfc5cc6b8b6327d61270043611283a6975
+
+--- a/binfilter/bf_sc/source/filter/xml/sc_XMLChangeTrackingExportHelper.cxx
++++ b/binfilter/bf_sc/source/filter/xml/sc_XMLChangeTrackingExportHelper.cxx
+@@ -39,6 +39,9 @@
+ #include <bf_xmloff/xmluconv.hxx>
+
+ #include <bf_svtools/zforlist.hxx>
++
++#include <sax/tools/converter.hxx>
++
+ namespace binfilter {
+
+ #define SC_CHANGE_ID_PREFIX "ct"
+@@ -758,7 +761,7 @@ void ScChangeTrackingExportHelper::CollectAndWriteChanges()
+ if (pChangeTrack->IsProtected())
+ {
+ ::rtl::OUStringBuffer aBuffer;
+- SvXMLUnitConverter::encodeBase64(aBuffer, pChangeTrack->GetProtection());
++ ::sax::Converter::encodeBase64(aBuffer, pChangeTrack->GetProtection());
+ if (aBuffer.getLength())
+ rExport.AddAttribute(XML_NAMESPACE_TABLE, XML_PROTECTION_KEY, aBuffer.makeStringAndClear());
+ }
+--- a/binfilter/bf_sc/source/filter/xml/sc_XMLTrackedChangesContext.cxx
++++ b/binfilter/bf_sc/source/filter/xml/sc_XMLTrackedChangesContext.cxx
+@@ -47,6 +47,9 @@
+ #include <bf_svtools/zforlist.hxx>
+
+ #include <com/sun/star/text/ControlCharacter.hpp>
++
++#include <sax/tools/converter.hxx>
++
+ namespace binfilter {
+
+ using namespace ::com::sun::star;
+@@ -562,7 +565,7 @@ ScXMLTrackedChangesContext::ScXMLTrackedChangesContext( ScXMLImport& rInImport,
+ if (sValue.getLength())
+ {
+ uno::Sequence<sal_Int8> aPass;
+- SvXMLUnitConverter::decodeBase64(aPass, sValue);
++ ::sax::Converter::decodeBase64(aPass, sValue);
+ pChangeTrackingImportHelper->SetProtection(aPass);
+ }
+ }
+--- a/binfilter/bf_sc/source/filter/xml/sc_xmlbodyi.cxx
++++ b/binfilter/bf_sc/source/filter/xml/sc_xmlbodyi.cxx
+@@ -56,6 +56,9 @@
+ #include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
+
+ #include <sal/types.h>
++
++#include <sax/tools/converter.hxx>
++
+ namespace binfilter {
+
+ using namespace ::com::sun::star;
+@@ -193,7 +196,7 @@ void ScXMLBodyContext::EndElement()
+ {
+ uno::Sequence<sal_Int8> aPass;
+ if (sPassword.getLength())
+- SvXMLUnitConverter::decodeBase64(aPass, sPassword);
++ ::sax::Converter::decodeBase64(aPass, sPassword);
+ pDoc->SetDocProtection(bProtected, aPass);
+ }
+ uno::Reference <sheet::XSpreadsheetDocument> xSpreadDoc( GetScImport().GetModel(), uno::UNO_QUERY );
+--- a/binfilter/bf_sc/source/filter/xml/sc_xmlexprt.cxx
++++ b/binfilter/bf_sc/source/filter/xml/sc_xmlexprt.cxx
+@@ -86,6 +86,7 @@
+ #include <com/sun/star/sheet/NamedRangeFlag.hpp>
+ #include <com/sun/star/form/XFormsSupplier.hpp>
+ #include <legacysmgr/legacy_binfilters_smgr.hxx>
++#include <sax/tools/converter.hxx>
+ namespace binfilter {
+ //! not found in unonames.hxx
+ #define SC_STANDARDFORMAT "StandardFormat"
+@@ -1213,7 +1214,7 @@ void ScXMLExport::SetBodyAttributes()
+ {
+ AddAttribute(XML_NAMESPACE_TABLE, XML_STRUCTURE_PROTECTED, XML_TRUE);
+ ::rtl::OUStringBuffer aBuffer;
+- SvXMLUnitConverter::encodeBase64(aBuffer, pDoc->GetDocPassword());
++ ::sax::Converter::encodeBase64(aBuffer, pDoc->GetDocPassword());
+ if (aBuffer.getLength())
+ AddAttribute(XML_NAMESPACE_TABLE, XML_PROTECTION_KEY, aBuffer.makeStringAndClear());
+ }
+@@ -1285,7 +1286,7 @@ void ScXMLExport::_ExportContent()
+ AddAttribute(XML_NAMESPACE_TABLE, XML_PROTECTED, XML_TRUE);
+ ::rtl::OUStringBuffer aBuffer;
+ if (pDoc)
+- SvXMLUnitConverter::encodeBase64(aBuffer, pDoc->GetTabPassword(nTable));
++ ::sax::Converter::encodeBase64(aBuffer, pDoc->GetTabPassword(nTable));
+ if (aBuffer.getLength())
+ AddAttribute(XML_NAMESPACE_TABLE, XML_PROTECTION_KEY, aBuffer.makeStringAndClear());
+ }
+--- a/binfilter/bf_sc/source/filter/xml/sc_xmlsubti.cxx
++++ b/binfilter/bf_sc/source/filter/xml/sc_xmlsubti.cxx
+@@ -45,6 +45,8 @@
+ #include <com/sun/star/sheet/XCellRangeAddressable.hpp>
+ #include <com/sun/star/sheet/XCellRangeMovement.hpp>
+ #include <com/sun/star/drawing/XDrawPageSupplier.hpp>
++
++#include <sax/tools/converter.hxx>
+ namespace binfilter {
+
+ //------------------------------------------------------------------
+@@ -593,7 +595,7 @@ void ScMyTables::DeleteTable()
+ if (rImport.GetDocument() && bProtection)
+ {
+ uno::Sequence<sal_Int8> aPass;
+- SvXMLUnitConverter::decodeBase64(aPass, sPassword);
++ ::sax::Converter::decodeBase64SomeChars(aPass, sPassword);
+ rImport.GetDocument()->SetTabProtection(nCurrentSheet, bProtection, aPass);
+ /*uno::Reference <util::XProtectable> xProtectable(xCurrentSheet, uno::UNO_QUERY);
+ if (xProtectable.is())
+--- a/binfilter/bf_sc/util/makefile.mk
++++ b/binfilter/bf_sc/util/makefile.mk
+@@ -71,6 +71,7 @@ SHL1STDLIBS+= \
+ $(BFSVXLIB) \
+ $(BFOFALIB) \
+ $(VCLLIB) \
++ $(SAXLIB) \
+ $(CPPULIB) \
+ $(CPPUHELPERLIB) \
+ $(COMPHELPERLIB) \
+--- a/binfilter/bf_xmloff/source/core/xmloff_DocumentSettingsContext.cxx
++++ b/binfilter/bf_xmloff/source/core/xmloff_DocumentSettingsContext.cxx
+@@ -37,9 +37,7 @@
+ #include "xmluconv.hxx"
+ #include <tools/debug.hxx>
+
+-#ifndef __SGI_STL_LIST
+ #include <list>
+-#endif
+
+ #include <com/sun/star/i18n/XForbiddenCharacters.hpp>
+ #include <com/sun/star/container/XIndexContainer.hpp>
+@@ -48,6 +46,7 @@
+ #include <com/sun/star/util/DateTime.hpp>
+ #include <com/sun/star/document/XViewDataSupplier.hpp>
+ #include <com/sun/star/document/PrinterIndependentLayout.hpp>
++#include <sax/tools/converter.hxx>
+ #include <xmlenums.hxx>
+ namespace binfilter {
+
+@@ -516,8 +515,7 @@ void XMLConfigItemContext::Characters( const ::rtl::OUString& rChars )
+ }
+ uno::Sequence<sal_Int8> aBuffer((sChars.getLength() / 4) * 3 );
+ sal_Int32 nCharsDecoded =
+- GetImport().GetMM100UnitConverter().
+- decodeBase64SomeChars( aBuffer, sChars );
++ ::sax::Converter::decodeBase64SomeChars(aBuffer, sChars);
+ sal_uInt32 nStartPos(aDecoded.getLength());
+ sal_uInt32 nCount(aBuffer.getLength());
+ aDecoded.realloc(nStartPos + nCount);
+--- a/binfilter/bf_xmloff/source/core/xmloff_SettingsExportHelper.cxx
++++ b/binfilter/bf_xmloff/source/core/xmloff_SettingsExportHelper.cxx
+@@ -39,6 +39,7 @@
+ #include <com/sun/star/util/DateTime.hpp>
+ #include <com/sun/star/container/XIndexContainer.hpp>
+ #include <com/sun/star/document/PrinterIndependentLayout.hpp>
++#include <sax/tools/converter.hxx>
+ #include <xmlenums.hxx>
+ namespace binfilter {
+
+@@ -355,7 +356,7 @@ void XMLSettingsExportHelper::exportbase64Binary(
+ if(nLength)
+ {
+ ::rtl::OUStringBuffer sBuffer;
+- SvXMLUnitConverter::encodeBase64(sBuffer, aProps);
++ ::sax::Converter::encodeBase64(sBuffer, aProps);
+ rExport.GetDocHandler()->characters(sBuffer.makeStringAndClear());
+ }
+ }
+--- a/binfilter/bf_xmloff/source/core/xmloff_XMLBase64Export.cxx
++++ b/binfilter/bf_xmloff/source/core/xmloff_XMLBase64Export.cxx
+@@ -28,6 +28,7 @@
+
+
+ #include <com/sun/star/io/XInputStream.hpp>
++#include <sax/tools/converter.hxx>
+
+ #include "xmluconv.hxx"
+ #include "xmlexp.hxx"
+@@ -62,8 +63,7 @@ sal_Bool XMLBase64Export::exportXML( const Reference < XInputStream> & rIn )
+ nRead = rIn->readBytes( aInBuff, INPUT_BUFFER_SIZE );
+ if( nRead > 0 )
+ {
+- GetExport().GetMM100UnitConverter().encodeBase64( aOutBuff,
+- aInBuff );
++ ::sax::Converter::encodeBase64(aOutBuff, aInBuff);
+ GetExport().Characters( aOutBuff.makeStringAndClear() );
+ if( nRead == INPUT_BUFFER_SIZE )
+ GetExport().IgnorableWhitespace();
+--- a/binfilter/bf_xmloff/source/core/xmloff_XMLBase64ImportContext.cxx
++++ b/binfilter/bf_xmloff/source/core/xmloff_XMLBase64ImportContext.cxx
+@@ -31,6 +31,8 @@
+
+ #include <com/sun/star/io/XOutputStream.hpp>
+
++#include <sax/tools/converter.hxx>
++
+ #include "XMLBase64ImportContext.hxx"
+ namespace binfilter {
+
+@@ -82,8 +84,7 @@ void XMLBase64ImportContext::Characters( const ::rtl::OUString& rChars )
+ }
+ Sequence< sal_Int8 > aBuffer( (sChars.getLength() / 4) * 3 );
+ sal_Int32 nCharsDecoded =
+- GetImport().GetMM100UnitConverter().
+- decodeBase64SomeChars( aBuffer, sChars );
++ ::sax::Converter::decodeBase64SomeChars(aBuffer, sChars);
+ xOut->writeBytes( aBuffer );
+ if( nCharsDecoded != sChars.getLength() )
+ sBase64CharsLeft = sChars.copy( nCharsDecoded );
+diff -u b/binfilter/bf_xmloff/source/core/xmloff_xmluconv.cxx b/binfilter/bf_xmloff/source/core/xmloff_xmluconv.cxx
+--- b/binfilter/bf_xmloff/source/core/xmloff_xmluconv.cxx
++++ b/binfilter/bf_xmloff/source/core/xmloff_xmluconv.cxx
+@@ -1454,181 +1454,6 @@
+ rBuffer.append(sal_Unicode(')'));
+ }
+
+-const
+- sal_Char aBase64EncodeTable[] =
+- { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
+- 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
+- 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
+- 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
+- '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/' };
+-
+-const
+- sal_uInt8 aBase64DecodeTable[] =
+- { 62,255,255,255, 63, // 43-47
+-// + /
+-
+- 52, 53, 54, 55, 56, 57, 58, 59, 60, 61,255,255,255, 0,255,255, // 48-63
+-// 0 1 2 3 4 5 6 7 8 9 =
+-
+- 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, // 64-79
+-// A B C D E F G H I J K L M N O
+-
+- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,255,255,255,255,255, // 80-95
+-// P Q R S T U V W X Y Z
+-
+- 0, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, // 96-111
+-// a b c d e f g h i j k l m n o
+-
+- 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 }; // 112-123
+-// p q r s t u v w x y z
+-
+-
+-
+-void ThreeByteToFourByte (const sal_Int8* pBuffer, const sal_Int32 nStart, const sal_Int32 nFullLen, ::rtl::OUStringBuffer& sBuffer)
+-{
+- sal_Int32 nLen(nFullLen - nStart);
+- if (nLen > 3)
+- nLen = 3;
+- if (nLen == 0)
+- {
+- return;
+- }
+-
+- sal_Int32 nBinaer;
+- switch (nLen)
+- {
+- case 1:
+- {
+- nBinaer = ((sal_uInt8)pBuffer[nStart + 0]) << 16;
+- }
+- break;
+- case 2:
+- {
+- nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) +
+- (((sal_uInt8)pBuffer[nStart + 1]) << 8);
+- }
+- break;
+- default:
+- {
+- nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) +
+- (((sal_uInt8)pBuffer[nStart + 1]) << 8) +
+- ((sal_uInt8)pBuffer[nStart + 2]);
+- }
+- break;
+- }
+-
+- sal_Unicode buf[4] = { '=', '=', '=', '=' };
+-
+- sal_uInt8 nIndex ((nBinaer & 0xFC0000) >> 18);
+- buf[0] = aBase64EncodeTable [nIndex];
+-
+- nIndex = (nBinaer & 0x3F000) >> 12;
+- buf[1] = aBase64EncodeTable [nIndex];
+- if (nLen > 1)
+- {
+- nIndex = (nBinaer & 0xFC0) >> 6;
+- buf[2] = aBase64EncodeTable [nIndex];
+- if (nLen > 2)
+- {
+- nIndex = (nBinaer & 0x3F);
+- buf[3] = aBase64EncodeTable [nIndex];
+- }
+- }
+- sBuffer.append(buf, SAL_N_ELEMENTS(buf));
+-}
+-
+-void SvXMLUnitConverter::encodeBase64( ::rtl::OUStringBuffer& aStrBuffer, const uno::Sequence<sal_Int8>& aPass)
+-{
+- sal_Int32 i(0);
+- sal_Int32 nBufferLength(aPass.getLength());
+- const sal_Int8* pBuffer = aPass.getConstArray();
+- while (i < nBufferLength)
+- {
+- ThreeByteToFourByte (pBuffer, i, nBufferLength, aStrBuffer);
+- i += 3;
+- }
+-}
+-
+-void SvXMLUnitConverter::decodeBase64(uno::Sequence<sal_Int8>& aBuffer, const ::rtl::OUString& sBuffer)
+-{
+-#if OSL_DEBUG_LEVEL > 0
+- sal_Int32 nCharsDecoded =
+-#endif
+- decodeBase64SomeChars( aBuffer, sBuffer );
+- OSL_ENSURE( nCharsDecoded == sBuffer.getLength(),
+- "some bytes left in base64 decoding!" );
+-}
+-
+-sal_Int32 SvXMLUnitConverter::decodeBase64SomeChars(
+- uno::Sequence<sal_Int8>& rOutBuffer,
+- const ::rtl::OUString& rInBuffer)
+-{
+- sal_Int32 nInBufferLen = rInBuffer.getLength();
+- sal_Int32 nMinOutBufferLen = (nInBufferLen / 4) * 3;
+- if( rOutBuffer.getLength() < nMinOutBufferLen )
+- rOutBuffer.realloc( nMinOutBufferLen );
+-
+- const sal_Unicode *pInBuffer = rInBuffer.getStr();
+- sal_Int8 *pOutBuffer = rOutBuffer.getArray();
+- sal_Int8 *pOutBufferStart = pOutBuffer;
+- sal_Int32 nCharsDecoded = 0;
+-
+- sal_uInt8 aDecodeBuffer[4];
+- sal_Int32 nBytesToDecode = 0;
+- sal_Int32 nBytesGotFromDecoding = 3;
+- sal_Int32 nInBufferPos= 0;
+- while( nInBufferPos < nInBufferLen )
+- {
+- sal_Unicode cChar = *pInBuffer;
+- if( cChar >= '+' && cChar <= 'z' )
+- {
+- sal_uInt8 nByte = aBase64DecodeTable[cChar-'+'];
+- if( nByte != 255 )
+- {
+- // We have found a valid character!
+- aDecodeBuffer[nBytesToDecode++] = nByte;
+-
+- // One '=' character at the end means 2 out bytes
+- // Two '=' characters at the end mean 1 out bytes
+- if( '=' == cChar && nBytesToDecode > 2 )
+- nBytesGotFromDecoding--;
+- if( 4 == nBytesToDecode )
+- {
+- // Four characters found, so we may convert now!
+- sal_uInt32 nOut = (aDecodeBuffer[0] << 18) +
+- (aDecodeBuffer[1] << 12) +
+- (aDecodeBuffer[2] << 6) +
+- aDecodeBuffer[3];
+-
+- *pOutBuffer++ = (sal_Int8)((nOut & 0xff0000) >> 16);
+- if( nBytesGotFromDecoding > 1 )
+- *pOutBuffer++ = (sal_Int8)((nOut & 0xff00) >> 8);
+- if( nBytesGotFromDecoding > 2 )
+- *pOutBuffer++ = (sal_Int8)(nOut & 0xff);
+- nCharsDecoded = nInBufferPos + 1;
+- nBytesToDecode = 0;
+- nBytesGotFromDecoding = 3;
+- }
+- }
+- else
+- {
+- nCharsDecoded++;
+- }
+- }
+- else
+- {
+- nCharsDecoded++;
+- }
+-
+- nInBufferPos++;
+- pInBuffer++;
+- }
+- if( (pOutBuffer - pOutBufferStart) != rOutBuffer.getLength() )
+- rOutBuffer.realloc( pOutBuffer - pOutBufferStart );
+-
+- return nCharsDecoded;
+-}
+-
+ sal_Bool SvXMLUnitConverter::convertNumFormat(
+ sal_Int16& rType,
+ const OUString& rNumFmt,
+--- a/binfilter/bf_xmloff/source/text/xmloff_XMLRedlineExport.cxx
++++ b/binfilter/bf_xmloff/source/text/xmloff_XMLRedlineExport.cxx
+@@ -45,6 +45,7 @@
+
+ #include <com/sun/star/util/DateTime.hpp>
+
++#include <sax/tools/converter.hxx>
+
+ #include "xmlnmspe.hxx"
+
+@@ -238,7 +239,7 @@ void XMLRedlineExport::ExportChangesListElements()
+ if ( aKey.getLength() > 0 )
+ {
+ OUStringBuffer aBuffer;
+- SvXMLUnitConverter::encodeBase64( aBuffer, aKey );
++ ::sax::Converter::encodeBase64(aBuffer, aKey);
+ rExport.AddAttribute( XML_NAMESPACE_TEXT, XML_PROTECTION_KEY,
+ aBuffer.makeStringAndClear() );
+ }
+--- a/binfilter/bf_xmloff/source/text/xmloff_XMLSectionExport.cxx
++++ b/binfilter/bf_xmloff/source/text/xmloff_XMLSectionExport.cxx
+@@ -39,6 +39,8 @@
+ #include <com/sun/star/text/XTextFieldsSupplier.hpp>
+ #include <com/sun/star/text/XChapterNumberingSupplier.hpp>
+
++#include <sax/tools/converter.hxx>
++
+ #include "xmlkywd.hxx"
+ #include "xmluconv.hxx"
+ #include "xmlexp.hxx"
+@@ -452,7 +454,7 @@ void XMLSectionExport::ExportRegularSectionStart(
+ if (aPassword.getLength() > 0)
+ {
+ OUStringBuffer aBuffer;
+- SvXMLUnitConverter::encodeBase64(aBuffer, aPassword);
++ ::sax::Converter::encodeBase64(aBuffer, aPassword);
+ GetExport().AddAttribute(XML_NAMESPACE_TEXT, XML_PROTECTION_KEY,
+ aBuffer.makeStringAndClear());
+ }
+--- a/binfilter/bf_xmloff/source/text/xmloff_XMLSectionImportContext.cxx
++++ b/binfilter/bf_xmloff/source/text/xmloff_XMLSectionImportContext.cxx
+@@ -40,6 +40,8 @@
+ #include <com/sun/star/text/XTextContent.hpp>
+ #include <com/sun/star/text/ControlCharacter.hpp>
+
++#include <sax/tools/converter.hxx>
++
+ namespace binfilter {
+
+
+@@ -308,7 +310,7 @@ void XMLSectionImportContext::ProcessAttributes(
+ }
+ break;
+ case XML_TOK_SECTION_PROTECTION_KEY:
+- SvXMLUnitConverter::decodeBase64(aSequence, sAttr);
++ ::sax::Converter::decodeBase64(aSequence, sAttr);
+ bSequenceOK = sal_True;
+ break;
+ case XML_TOK_SECTION_PROTECT:
+--- a/binfilter/bf_xmloff/source/text/xmloff_XMLTextFrameContext.cxx
++++ b/binfilter/bf_xmloff/source/text/xmloff_XMLTextFrameContext.cxx
+@@ -35,6 +35,7 @@
+ #include <com/sun/star/io/XOutputStream.hpp>
+ #include <com/sun/star/text/HoriOrientation.hpp>
+ #include <com/sun/star/text/VertOrientation.hpp>
++#include <sax/tools/converter.hxx>
+ #include "xmlimp.hxx"
+ #include "xmlnmspe.hxx"
+ #include "xmlkywd.hxx"
+@@ -1111,8 +1112,7 @@ void XMLTextFrameContext::Characters( const OUString& rChars )
+ }
+ Sequence< sal_Int8 > aBuffer( (sChars.getLength() / 4) * 3 );
+ sal_Int32 nCharsDecoded =
+- GetImport().GetMM100UnitConverter().
+- decodeBase64SomeChars( aBuffer, sChars );
++ ::sax::Converter::decodeBase64SomeChars(aBuffer, sChars);
+ xBase64Stream->writeBytes( aBuffer );
+ if( nCharsDecoded != sChars.getLength() )
+ sBase64CharsLeft = sChars.copy( nCharsDecoded );
+--- a/binfilter/bf_xmloff/source/text/xmloff_XMLTrackedChangesImportContext.cxx
++++ b/binfilter/bf_xmloff/source/text/xmloff_XMLTrackedChangesImportContext.cxx
+@@ -30,6 +30,7 @@
+ #include "XMLChangedRegionImportContext.hxx"
+ #include <com/sun/star/uno/Reference.h>
+ #include <com/sun/star/uno/Sequence.h>
++#include <sax/tools/converter.hxx>
+ #include "xmlimp.hxx"
+ #include "xmlnmspe.hxx"
+ #include "nmspmap.hxx"
+@@ -84,7 +85,7 @@ void XMLTrackedChangesImportContext::StartElement(
+ }
+ else if ( IsXMLToken( sLocalName, XML_PROTECTION_KEY ) ) {
+ Sequence<sal_Int8> aSequence;
+- SvXMLUnitConverter::decodeBase64(
++ ::sax::Converter::decodeBase64(
+ aSequence, xAttrList->getValueByIndex(i));
+ if ( aSequence.getLength() > 0 )
+ {
+--- a/binfilter/bf_xmloff/util/makefile.mk
++++ b/binfilter/bf_xmloff/util/makefile.mk
+@@ -69,6 +69,7 @@ SHL1IMPLIB= _ibf_xo
+
+ SHL1STDLIBS= \
+ $(BFSVTOOLLIB) \
++ $(SAXLIB) \
+ $(TOOLSLIB) \
+ $(I18NISOLANGLIB) \
+ $(CPPULIB) \
+--- a/binfilter/inc/bf_xmloff/xmluconv.hxx
++++ b/binfilter/inc/bf_xmloff/xmluconv.hxx
+@@ -309,17 +309,6 @@ public:
+ static sal_Int32 indexOfComma( const ::rtl::OUString& rStr,
+ sal_Int32 nPos );
+
+- static void encodeBase64( ::rtl::OUStringBuffer& aStrBuffer, const ::com::sun::star::uno::Sequence<sal_Int8>& aPass);
+-
+- // Decode a base 64 encoded string into a sequence of bytes. The first
+- // version can be used for attribute values only, bacause it does not
+- // return any chars left from conversion.
+- // For text submitted throgh the SAX characters call, the later method
+- // must be used!
+- static void decodeBase64( ::com::sun::star::uno::Sequence<sal_Int8>& aPass, const ::rtl::OUString& sBuffer);
+-
+- static sal_Int32 decodeBase64SomeChars( ::com::sun::star::uno::Sequence<sal_Int8>& aPass, const ::rtl::OUString& sBuffer);
+-
+ /** convert num-forat and num-letter-sync values to NumberingType */
+ sal_Bool convertNumFormat( sal_Int16& rType,
+ const ::rtl::OUString& rNumFormat,
--- /dev/null
+Date: Fri, 08 Jun 2012 10:23:44 +0100
+From: Caolán McNamara <caolanm@redhat.com>
+To: Petr Mladek <pmladek@suse.cz>
+Cc: tdf-security@lists.documentfoundation.org
+Subject: [REVIEW 3-5] Re: Is CVE-2012-2665 fixed in LO?
+
+On Thu, 2012-06-07 at 18:23 +0200, Petr Mladek wrote:
+> Hi Caolan,
+>
+> I am a bit confused by all the security problems. Is CVE-2012-2665 fixed
+> in LO-3.5?
+
+Not yet. I wanted to wait to propose any more backports until the
+backlog was cleared to try and avoid confusion :-)
+
+So, I'm now requesting the following three additional commits to be
+cherry-picked to 3-5
+
+78f614e5fff70d4874322255cca739f430865f0a key-size
+acc613a3236c61c8272bde1eadca5d8bf25f98f1 tag-hierarchy
+4a7164429b727bd8fd6f183950e85e6225869364 count-and-order
+
+to address CVE-2012-2665
+
+I'd like to consider those three + the already cherry-picked
+4036ee4db7b43cac9f892c2b9a2c545f0f838747 as our canonical solution to
+CVE-2012-2665 (78f614e5fff70d4874322255cca739f430865f0a is technically
+not really relevant but I reckon its easiest to bundle it into any
+backports while we're at it to keep things simple)
+
+C.
+
+From 4036ee4db7b43cac9f892c2b9a2c545f0f838747 Mon Sep 17 00:00:00 2001
+From: Caolán McNamara <caolanm@redhat.com>
+Date: Wed, 30 May 2012 14:10:25 +0000
+Subject: merge three base64 encoders/decoders together
+
+Conflicts:
+
+ filter/source/placeware/Base64Codec.cxx
+ package/source/manifest/Base64Codec.cxx
+
+Change-Id: Ic123c081fcf6ddcf5d61c5d5a3eab01db470014c
+Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
+
+From 78f614e5fff70d4874322255cca739f430865f0a Mon Sep 17 00:00:00 2001
+From: Caolán McNamara <caolanm@redhat.com>
+Date: Mon, 28 May 2012 09:33:40 +0000
+Subject: check key size
+
+Change-Id: Ia909b0abb3ef84a9f0a14d42379f693ae9e70812
+
+From acc613a3236c61c8272bde1eadca5d8bf25f98f1 Mon Sep 17 00:00:00 2001
+From: Caolán McNamara <caolanm@redhat.com>
+Date: Mon, 28 May 2012 09:35:31 +0000
+Subject: unwind manifest xml parser and follow tag hierarchy model
+
+so we validate that each tag is inside the right parent
+
+Change-Id: Ibc82aeaf6b409ef2fed7de0cd8f15c164da65e53
+
+From 4a7164429b727bd8fd6f183950e85e6225869364 Mon Sep 17 00:00:00 2001
+From: Caolán McNamara <caolanm@redhat.com>
+Date: Mon, 28 May 2012 10:43:09 +0000
+Subject: count and order of receipt of properties doesn't matter
+
+so stick imported properties into assigned slots and throw out empty ones when
+finished. Reuse existing ids for this between import and export. Shuffle
+FULLPATH to 0 as per import comment
+
+Change-Id: I516116c5327498ad043f6e2fb9bd257599ade2a2
+
+diff --git a/filter/Library_placeware.mk b/filter/Library_placeware.mk
+index d0af3c1..0471cd2 100644
+--- a/filter/Library_placeware.mk
++++ b/filter/Library_placeware.mk
+@@ -34,11 +34,11 @@ $(eval $(call gb_Library_add_linked_libs,placeware,\
+ cppuhelper \
+ cppu \
+ sal \
++ sax \
+ $(gb_STDLIBS) \
+ ))
+
+ $(eval $(call gb_Library_add_exception_objects,placeware,\
+- filter/source/placeware/Base64Codec \
+ filter/source/placeware/exporter \
+ filter/source/placeware/filter \
+ filter/source/placeware/tempfile \
+diff --git a/filter/source/placeware/Base64Codec.cxx b/filter/source/placeware/Base64Codec.cxx
+index 49cfcc0..e69de29 100644
+--- a/filter/source/placeware/Base64Codec.cxx
++++ b/filter/source/placeware/Base64Codec.cxx
+@@ -1,206 +0,0 @@
+-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+-/*************************************************************************
+- *
+- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+- *
+- * Copyright 2000, 2010 Oracle and/or its affiliates.
+- *
+- * OpenOffice.org - a multi-platform office productivity suite
+- *
+- * This file is part of OpenOffice.org.
+- *
+- * OpenOffice.org is free software: you can redistribute it and/or modify
+- * it under the terms of the GNU Lesser General Public License version 3
+- * only, as published by the Free Software Foundation.
+- *
+- * OpenOffice.org is distributed in the hope that it will be useful,
+- * but WITHOUT ANY WARRANTY; without even the implied warranty of
+- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+- * GNU Lesser General Public License version 3 for more details
+- * (a copy is included in the LICENSE file that accompanied this code).
+- *
+- * You should have received a copy of the GNU Lesser General Public License
+- * version 3 along with OpenOffice.org. If not, see
+- * <http://www.openoffice.org/license.html>
+- * for a copy of the LGPLv3 License.
+- *
+- ************************************************************************/
+-
+-#include "Base64Codec.hxx"
+-#include <rtl/ustrbuf.hxx>
+-#include <osl/diagnose.h>
+-using namespace osl;
+-using namespace com::sun::star;
+-using ::rtl::OUString;
+-using ::rtl::OUStringBuffer;
+-const
+- sal_Char aBase64EncodeTable[] =
+- { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
+- 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
+- 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
+- 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
+- '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/' };
+-
+-const
+- sal_uInt8 aBase64DecodeTable[] =
+- { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0-15
+-
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16-31
+-
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 62, 0, 0, 0, 63, // 32-47
+-// + /
+-
+- 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 0, 0, 0, 0, 0, 0, // 48-63
+-// 0 1 2 3 4 5 6 7 8 9 =
+-
+- 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, // 64-79
+-// A B C D E F G H I J K L M N O
+-
+- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, // 80-95
+-// P Q R S T U V W X Y Z
+-
+- 0, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, // 96-111
+-// a b c d e f g h i j k l m n o
+-
+- 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 0, 0, 0, 0, 0, // 112-127
+-// p q r s t u v w x y z
+-
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
+-
+-
+-void ThreeByteToFourByte (const sal_uInt8* pBuffer, const sal_Int32 nStart, const sal_Int32 nFullLen, rtl::OUStringBuffer& sBuffer)
+-{
+- sal_Int32 nLen(nFullLen - nStart);
+- if (nLen > 3)
+- nLen = 3;
+- if (nLen == 0)
+- {
+- return;
+- }
+-
+- sal_Int32 nBinaer;
+- switch (nLen)
+- {
+- case 1:
+- {
+- nBinaer = ((sal_uInt8)pBuffer[nStart + 0]) << 16;
+- }
+- break;
+- case 2:
+- {
+- nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) +
+- (((sal_uInt8)pBuffer[nStart + 1]) << 8);
+- }
+- break;
+- default:
+- {
+- nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) +
+- (((sal_uInt8)pBuffer[nStart + 1]) << 8) +
+- ((sal_uInt8)pBuffer[nStart + 2]);
+- }
+- break;
+- }
+-
+- sal_Unicode buf[] = { '=', '=', '=', '=' };
+-
+- sal_uInt8 nIndex = static_cast< sal_uInt8 >((nBinaer & 0xFC0000) >> 18);
+- buf[0] = aBase64EncodeTable [nIndex];
+-
+- nIndex = static_cast< sal_uInt8 >((nBinaer & 0x3F000) >> 12);
+- buf[1] = aBase64EncodeTable [nIndex];
+- if (nLen > 1)
+- {
+- nIndex = static_cast< sal_uInt8 >((nBinaer & 0xFC0) >> 6);
+- buf[2] = aBase64EncodeTable [nIndex];
+- if (nLen > 2)
+- {
+- nIndex = static_cast< sal_uInt8 >((nBinaer & 0x3F));
+- buf[3] = aBase64EncodeTable [nIndex];
+- }
+- }
+- sBuffer.append(buf, SAL_N_ELEMENTS(buf));
+-}
+-
+-void Base64Codec::encodeBase64(rtl::OUStringBuffer& aStrBuffer, const uno::Sequence < sal_Int8 >& aPass)
+-{
+- sal_Int32 i(0);
+- sal_Int32 nBufferLength(aPass.getLength());
+- const sal_Int8* pBuffer = aPass.getConstArray();
+- while (i < nBufferLength)
+- {
+- ThreeByteToFourByte ((const sal_uInt8*)pBuffer, i, nBufferLength, aStrBuffer);
+- i += 3;
+- }
+-}
+-
+-const rtl::OUString s2equal(RTL_CONSTASCII_USTRINGPARAM("=="));
+-const rtl::OUString s1equal(RTL_CONSTASCII_USTRINGPARAM("="));
+-#if 0
+-void FourByteToThreeByte (sal_uInt8* pBuffer, sal_Int32& nLength, const sal_Int32 nStart, const rtl::OUString& sString)
+-{
+- nLength = 0;
+- sal_Int32 nLen (sString.getLength());
+-
+- if (nLen != 4)
+- {
+- return;
+- }
+-
+-
+- if (sString.indexOf(s2equal) == 2)
+- nLength = 1;
+- else if (sString.indexOf(s1equal) == 3)
+- nLength = 2;
+- else
+- nLength = 3;
+-
+- sal_Int32 nBinaer ((aBase64DecodeTable [sString [0]] << 18) +
+- (aBase64DecodeTable [sString [1]] << 12) +
+- (aBase64DecodeTable [sString [2]] << 6) +
+- (aBase64DecodeTable [sString [3]]));
+-
+- sal_uInt8 OneByte = static_cast< sal_uInt8 >((nBinaer & 0xFF0000) >> 16);
+- pBuffer[nStart + 0] = (sal_uInt8)OneByte;
+-
+- if (nLength == 1)
+- return;
+-
+- OneByte = static_cast< sal_uInt8 >((nBinaer & 0xFF00) >> 8);
+- pBuffer[nStart + 1] = (sal_uInt8)OneByte;
+-
+- if (nLength == 2)
+- return;
+-
+- OneByte = static_cast< sal_uInt8 >(nBinaer & 0xFF);
+- pBuffer[nStart + 2] = (sal_uInt8)OneByte;
+-}
+-
+-void Base64Codec::decodeBase64(uno::Sequence< sal_uInt8 >& aBuffer, const rtl::OUString& sBuffer)
+-{
+- sal_Int32 nFirstLength((sBuffer.getLength() / 4) * 3);
+- sal_uInt8* pBuffer = new sal_uInt8[nFirstLength];
+- sal_Int32 nSecondLength(0);
+- sal_Int32 nLength(0);
+- sal_Int32 i = 0;
+- sal_Int32 k = 0;
+- while (i < sBuffer.getLength())
+- {
+- FourByteToThreeByte (pBuffer, nLength, k, sBuffer.copy(i, 4));
+- nSecondLength += nLength;
+- nLength = 0;
+- i += 4;
+- k += 3;
+- }
+- aBuffer = uno::Sequence<sal_uInt8>(pBuffer, nSecondLength);
+- delete[] pBuffer;
+-}
+-#endif
+-
+-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/filter/source/placeware/Base64Codec.hxx b/filter/source/placeware/Base64Codec.hxx
+index b635b1e..e69de29 100644
+--- a/filter/source/placeware/Base64Codec.hxx
++++ b/filter/source/placeware/Base64Codec.hxx
+@@ -1,50 +0,0 @@
+-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+-/*************************************************************************
+- *
+- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+- *
+- * Copyright 2000, 2010 Oracle and/or its affiliates.
+- *
+- * OpenOffice.org - a multi-platform office productivity suite
+- *
+- * This file is part of OpenOffice.org.
+- *
+- * OpenOffice.org is free software: you can redistribute it and/or modify
+- * it under the terms of the GNU Lesser General Public License version 3
+- * only, as published by the Free Software Foundation.
+- *
+- * OpenOffice.org is distributed in the hope that it will be useful,
+- * but WITHOUT ANY WARRANTY; without even the implied warranty of
+- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+- * GNU Lesser General Public License version 3 for more details
+- * (a copy is included in the LICENSE file that accompanied this code).
+- *
+- * You should have received a copy of the GNU Lesser General Public License
+- * version 3 along with OpenOffice.org. If not, see
+- * <http://www.openoffice.org/license.html>
+- * for a copy of the LGPLv3 License.
+- *
+- ************************************************************************/
+-
+-#ifndef _BASE64_CODEC_HXX
+-#define _BASE64_CODEC_HXX
+-
+-#include <com/sun/star/uno/Sequence.hxx>
+-
+-namespace rtl
+-{
+-class OUString;
+-class OUStringBuffer;
+-}
+-
+-class Base64Codec
+-{
+-public:
+- static void encodeBase64(rtl::OUStringBuffer& aStrBuffer, const com::sun::star::uno::Sequence<sal_Int8>& aPass);
+-#if 0
+- static void decodeBase64(com::sun::star::uno::Sequence<sal_uInt8>& aPass, const rtl::OUString& sBuffer);
+-#endif
+-};
+-#endif
+-
+-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/filter/source/placeware/exporter.cxx b/filter/source/placeware/exporter.cxx
+index b925b65..a89e915 100644
+--- a/filter/source/placeware/exporter.cxx
++++ b/filter/source/placeware/exporter.cxx
+@@ -39,12 +39,12 @@
+ #include <com/sun/star/task/XStatusIndicatorFactory.hpp>
+ #include <rtl/ustrbuf.hxx>
+ #include <rtl/string.hxx>
++#include <sax/tools/converter.hxx>
+ #include <osl/diagnose.h>
+
+ #include <vector>
+
+ #include "exporter.hxx"
+-#include "Base64Codec.hxx"
+ #include "zip.hxx"
+ #include "tempfile.hxx"
+
+@@ -161,7 +161,7 @@ static void encodeFile( osl::File& rSourceFile, Reference< XOutputStream >& xOut
+ nLen -= nRead;
+
+ rtl::OUStringBuffer aStrBuffer;
+- Base64Codec::encodeBase64( aStrBuffer, aInBuffer );
++ ::sax::Converter::encodeBase64(aStrBuffer, aInBuffer);
+
+ sal_Int32 nCount = aStrBuffer.getLength();
+
+diff --git a/package/Library_package2.mk b/package/Library_package2.mk
+index 306887e..dfce64b 100644
+--- a/package/Library_package2.mk
++++ b/package/Library_package2.mk
+@@ -51,6 +51,7 @@ $(eval $(call gb_Library_add_linked_libs,package2,\
+ cppu \
+ cppuhelper \
+ sal \
++ sax \
+ ucbhelper \
+ $(gb_STDLIBS) \
+ ))
+@@ -60,7 +61,6 @@ $(eval $(call gb_Library_use_externals,package2,\
+ ))
+
+ $(eval $(call gb_Library_add_exception_objects,package2,\
+- package/source/manifest/Base64Codec \
+ package/source/manifest/ManifestExport \
+ package/source/manifest/ManifestImport \
+ package/source/manifest/ManifestReader \
+diff --git a/package/inc/PackageConstants.hxx b/package/inc/PackageConstants.hxx
+index be82010..7590acd 100644
+--- a/package/inc/PackageConstants.hxx
++++ b/package/inc/PackageConstants.hxx
+@@ -40,19 +40,19 @@ const sal_Int32 n_ConstDigestLength = 1024;
+ const sal_Int32 n_ConstDigestDecrypt = 1056; // 1024 + 32
+
+ // the constants related to the manifest.xml entries
+-#define PKG_MNFST_MEDIATYPE 0
+-#define PKG_MNFST_VERSION 1
+-#define PKG_MNFST_FULLPATH 2
++#define PKG_MNFST_FULLPATH 0 //FullPath (Put full-path property first for MBA)
++#define PKG_MNFST_VERSION 1 //Version
++#define PKG_MNFST_MEDIATYPE 2 //MediaType
+
+-#define PKG_MNFST_INIVECTOR 3
+-#define PKG_MNFST_SALT 4
+-#define PKG_MNFST_ITERATION 5
+-#define PKG_MNFST_UCOMPSIZE 6
+-#define PKG_MNFST_DIGEST 7
+-#define PKG_MNFST_ENCALG 8
+-#define PKG_MNFST_STARTALG 9
+-#define PKG_MNFST_DIGESTALG 10
+-#define PKG_MNFST_DERKEYSIZE 11
++#define PKG_MNFST_INIVECTOR 3 //InitialisationVector
++#define PKG_MNFST_SALT 4 //Salt
++#define PKG_MNFST_ITERATION 5 //IterationCount
++#define PKG_MNFST_UCOMPSIZE 6 //Size
++#define PKG_MNFST_DIGEST 7 //Digest
++#define PKG_MNFST_ENCALG 8 //EncryptionAlgorithm
++#define PKG_MNFST_STARTALG 9 //StartKeyAlgorithm
++#define PKG_MNFST_DIGESTALG 10 //DigestAlgorithm
++#define PKG_MNFST_DERKEYSIZE 11 //DerivedKeySize
+
+ #define PKG_SIZE_NOENCR_MNFST 3
+ #define PKG_SIZE_ENCR_MNFST 12
+diff --git a/package/prj/build.lst b/package/prj/build.lst
+index e1a2c11..35b408d 100644
+--- a/package/prj/build.lst
++++ b/package/prj/build.lst
+@@ -1,2 +1,2 @@
+-pk package : cppu cppuhelper comphelper ucbhelper sal ZLIB:zlib LIBXSLT:libxslt NULL
++pk package : cppu cppuhelper comphelper ucbhelper sal ZLIB:zlib LIBXSLT:libxslt sax NULL
+ pk package\prj nmake - all pk_prj NULL
+diff --git a/package/source/manifest/Base64Codec.cxx b/package/source/manifest/Base64Codec.cxx
+index 66a7f18..e69de29 100644
+--- a/package/source/manifest/Base64Codec.cxx
++++ b/package/source/manifest/Base64Codec.cxx
+@@ -1,204 +0,0 @@
+-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+-/*************************************************************************
+- *
+- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+- *
+- * Copyright 2000, 2010 Oracle and/or its affiliates.
+- *
+- * OpenOffice.org - a multi-platform office productivity suite
+- *
+- * This file is part of OpenOffice.org.
+- *
+- * OpenOffice.org is free software: you can redistribute it and/or modify
+- * it under the terms of the GNU Lesser General Public License version 3
+- * only, as published by the Free Software Foundation.
+- *
+- * OpenOffice.org is distributed in the hope that it will be useful,
+- * but WITHOUT ANY WARRANTY; without even the implied warranty of
+- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+- * GNU Lesser General Public License version 3 for more details
+- * (a copy is included in the LICENSE file that accompanied this code).
+- *
+- * You should have received a copy of the GNU Lesser General Public License
+- * version 3 along with OpenOffice.org. If not, see
+- * <http://www.openoffice.org/license.html>
+- * for a copy of the LGPLv3 License.
+- *
+- ************************************************************************/
+-
+-#include "Base64Codec.hxx"
+-#include <rtl/ustrbuf.hxx>
+-#include <osl/diagnose.h>
+-using namespace osl;
+-using namespace com::sun::star;
+-
+-using ::rtl::OUStringBuffer;
+-
+-const
+- sal_Char aBase64EncodeTable[] =
+- { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
+- 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
+- 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
+- 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
+- '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/' };
+-
+-const
+- sal_uInt8 aBase64DecodeTable[] =
+- { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0-15
+-
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16-31
+-
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 62, 0, 0, 0, 63, // 32-47
+-// + /
+-
+- 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 0, 0, 0, 0, 0, 0, // 48-63
+-// 0 1 2 3 4 5 6 7 8 9 =
+-
+- 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, // 64-79
+-// A B C D E F G H I J K L M N O
+-
+- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, // 80-95
+-// P Q R S T U V W X Y Z
+-
+- 0, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, // 96-111
+-// a b c d e f g h i j k l m n o
+-
+- 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 0, 0, 0, 0, 0, // 112-127
+-// p q r s t u v w x y z
+-
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
+-
+-
+-void ThreeByteToFourByte (const sal_uInt8* pBuffer, const sal_Int32 nStart, const sal_Int32 nFullLen, rtl::OUStringBuffer& sBuffer)
+-{
+- sal_Int32 nLen(nFullLen - nStart);
+- if (nLen > 3)
+- nLen = 3;
+- if (nLen == 0)
+- {
+- return;
+- }
+-
+- sal_Int32 nBinaer;
+- switch (nLen)
+- {
+- case 1:
+- {
+- nBinaer = ((sal_uInt8)pBuffer[nStart + 0]) << 16;
+- }
+- break;
+- case 2:
+- {
+- nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) +
+- (((sal_uInt8)pBuffer[nStart + 1]) << 8);
+- }
+- break;
+- default:
+- {
+- nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) +
+- (((sal_uInt8)pBuffer[nStart + 1]) << 8) +
+- ((sal_uInt8)pBuffer[nStart + 2]);
+- }
+- break;
+- }
+-
+- sal_Unicode buf[] = { '=', '=', '=', '=' };
+-
+- sal_uInt8 nIndex = static_cast< sal_uInt8 >((nBinaer & 0xFC0000) >> 18);
+- buf[0] = aBase64EncodeTable [nIndex];
+-
+- nIndex = static_cast< sal_uInt8 >((nBinaer & 0x3F000) >> 12);
+- buf[1] = aBase64EncodeTable [nIndex];
+- if (nLen > 1)
+- {
+- nIndex = static_cast< sal_uInt8 >((nBinaer & 0xFC0) >> 6);
+- buf[2] = aBase64EncodeTable [nIndex];
+- if (nLen > 2)
+- {
+- nIndex = static_cast< sal_uInt8 >(nBinaer & 0x3F);
+- buf[3] = aBase64EncodeTable [nIndex];
+- }
+- }
+- sBuffer.append(buf, SAL_N_ELEMENTS(buf));
+-}
+-
+-void Base64Codec::encodeBase64(rtl::OUStringBuffer& aStrBuffer, const uno::Sequence < sal_Int8 >& aPass)
+-{
+- sal_Int32 i(0);
+- sal_Int32 nBufferLength(aPass.getLength());
+- const sal_uInt8* pBuffer = reinterpret_cast< const sal_uInt8* >( aPass.getConstArray() );
+- while (i < nBufferLength)
+- {
+- ThreeByteToFourByte (pBuffer, i, nBufferLength, aStrBuffer);
+- i += 3;
+- }
+-}
+-
+-const rtl::OUString s2equal(RTL_CONSTASCII_USTRINGPARAM("=="));
+-const rtl::OUString s1equal(RTL_CONSTASCII_USTRINGPARAM("="));
+-
+-void FourByteToThreeByte (sal_uInt8* pBuffer, sal_Int32& nLength, const sal_Int32 nStart, const rtl::OUString& sString)
+-{
+- nLength = 0;
+- sal_Int32 nLen (sString.getLength());
+-
+- OSL_ASSERT( nLen == 4 );
+- if (nLen != 4)
+- return;
+-
+- if (sString.indexOf(s2equal) == 2)
+- nLength = 1;
+- else if (sString.indexOf(s1equal) == 3)
+- nLength = 2;
+- else
+- nLength = 3;
+-
+- sal_Int32 nBinaer ((aBase64DecodeTable [sString [0]] << 18) +
+- (aBase64DecodeTable [sString [1]] << 12) +
+- (aBase64DecodeTable [sString [2]] << 6) +
+- (aBase64DecodeTable [sString [3]]));
+-
+- sal_uInt8 OneByte = static_cast< sal_uInt8 >((nBinaer & 0xFF0000) >> 16);
+- pBuffer[nStart + 0] = (sal_uInt8)OneByte;
+-
+- if (nLength == 1)
+- return;
+-
+- OneByte = static_cast< sal_uInt8 >((nBinaer & 0xFF00) >> 8);
+- pBuffer[nStart + 1] = OneByte;
+-
+- if (nLength == 2)
+- return;
+-
+- OneByte = static_cast< sal_uInt8 >(nBinaer & 0xFF);
+- pBuffer[nStart + 2] = OneByte;
+-}
+-
+-void Base64Codec::decodeBase64(uno::Sequence< sal_Int8 >& aBuffer, const rtl::OUString& sBuffer)
+-{
+- sal_Int32 nFirstLength((sBuffer.getLength() / 4) * 3);
+- sal_uInt8* pBuffer = new sal_uInt8[nFirstLength];
+- sal_Int32 nSecondLength(0);
+- sal_Int32 nLength(0);
+- sal_Int32 i = 0;
+- sal_Int32 k = 0;
+- while (i < sBuffer.getLength())
+- {
+- FourByteToThreeByte (pBuffer, nLength, k, sBuffer.copy(i, 4));
+- nSecondLength += nLength;
+- nLength = 0;
+- i += 4;
+- k += 3;
+- }
+- aBuffer = uno::Sequence<sal_Int8>( reinterpret_cast< sal_Int8* >( pBuffer ), nSecondLength );
+- delete[] pBuffer;
+-}
+-
+-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/package/source/manifest/Base64Codec.hxx b/package/source/manifest/Base64Codec.hxx
+index 60bd018..e69de29 100644
+--- a/package/source/manifest/Base64Codec.hxx
++++ b/package/source/manifest/Base64Codec.hxx
+@@ -1,48 +0,0 @@
+-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+-/*************************************************************************
+- *
+- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+- *
+- * Copyright 2000, 2010 Oracle and/or its affiliates.
+- *
+- * OpenOffice.org - a multi-platform office productivity suite
+- *
+- * This file is part of OpenOffice.org.
+- *
+- * OpenOffice.org is free software: you can redistribute it and/or modify
+- * it under the terms of the GNU Lesser General Public License version 3
+- * only, as published by the Free Software Foundation.
+- *
+- * OpenOffice.org is distributed in the hope that it will be useful,
+- * but WITHOUT ANY WARRANTY; without even the implied warranty of
+- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+- * GNU Lesser General Public License version 3 for more details
+- * (a copy is included in the LICENSE file that accompanied this code).
+- *
+- * You should have received a copy of the GNU Lesser General Public License
+- * version 3 along with OpenOffice.org. If not, see
+- * <http://www.openoffice.org/license.html>
+- * for a copy of the LGPLv3 License.
+- *
+- ************************************************************************/
+-
+-#ifndef _BASE64_CODEC_HXX
+-#define _BASE64_CODEC_HXX
+-
+-#include <com/sun/star/uno/Sequence.hxx>
+-
+-namespace rtl
+-{
+-class OUString;
+-class OUStringBuffer;
+-}
+-
+-class Base64Codec
+-{
+-public:
+- static void encodeBase64(rtl::OUStringBuffer& aStrBuffer, const com::sun::star::uno::Sequence<sal_Int8>& aPass);
+- static void decodeBase64(com::sun::star::uno::Sequence<sal_Int8>& aPass, const rtl::OUString& sBuffer);
+-};
+-#endif
+-
+-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/package/source/manifest/ManifestExport.cxx b/package/source/manifest/ManifestExport.cxx
+index a9e9f45..94e5234 100644
+--- a/package/source/manifest/ManifestExport.cxx
++++ b/package/source/manifest/ManifestExport.cxx
+@@ -37,7 +37,7 @@
+
+ #include <ManifestDefines.hxx>
+ #include <ManifestExport.hxx>
+-#include <Base64Codec.hxx>
++#include <sax/tools/converter.hxx>
+
+ #include <rtl/ustrbuf.hxx>
+ #include <comphelper/documentconstants.hxx>
+@@ -275,7 +275,7 @@ ManifestExport::ManifestExport( uno::Reference< xml::sax::XDocumentHandler > xHa
+
+ pNewAttrList->AddAttribute ( sChecksumTypeAttribute, sCdataAttribute, sChecksumType );
+ *pDigest >>= aSequence;
+- Base64Codec::encodeBase64( aBuffer, aSequence );
++ ::sax::Converter::encodeBase64(aBuffer, aSequence);
+ pNewAttrList->AddAttribute ( sChecksumAttribute, sCdataAttribute, aBuffer.makeStringAndClear() );
+
+ xHandler->startElement( sEncryptionDataElement , xNewAttrList);
+@@ -308,7 +308,7 @@ ManifestExport::ManifestExport( uno::Reference< xml::sax::XDocumentHandler > xHa
+ pNewAttrList->AddAttribute ( sAlgorithmNameAttribute, sCdataAttribute, sEncAlgName );
+
+ *pVector >>= aSequence;
+- Base64Codec::encodeBase64 ( aBuffer, aSequence );
++ ::sax::Converter::encodeBase64(aBuffer, aSequence);
+ pNewAttrList->AddAttribute ( sInitialisationVectorAttribute, sCdataAttribute, aBuffer.makeStringAndClear() );
+
+ xHandler->ignorableWhitespace ( sWhiteSpace );
+@@ -334,7 +334,7 @@ ManifestExport::ManifestExport( uno::Reference< xml::sax::XDocumentHandler > xHa
+ pNewAttrList->AddAttribute ( sIterationCountAttribute, sCdataAttribute, aBuffer.makeStringAndClear() );
+
+ *pSalt >>= aSequence;
+- Base64Codec::encodeBase64 ( aBuffer, aSequence );
++ ::sax::Converter::encodeBase64(aBuffer, aSequence);
+ pNewAttrList->AddAttribute ( sSaltAttribute, sCdataAttribute, aBuffer.makeStringAndClear() );
+
+ xHandler->ignorableWhitespace ( sWhiteSpace );
+diff --git a/package/source/manifest/ManifestImport.cxx b/package/source/manifest/ManifestImport.cxx
+index 01cf6a5..0944d8e 100644
+--- a/package/source/manifest/ManifestImport.cxx
++++ b/package/source/manifest/ManifestImport.cxx
+@@ -29,7 +29,7 @@
+ // MARKER( update_precomp.py ): autogen include statement, do not remove
+ #include <ManifestImport.hxx>
+ #include <ManifestDefines.hxx>
+-#include <Base64Codec.hxx>
++#include <sax/tools/converter.hxx>
+ #include <com/sun/star/xml/sax/XAttributeList.hpp>
+ #include <com/sun/star/xml/crypto/DigestID.hpp>
+ #include <com/sun/star/xml/crypto/CipherID.hpp>
+@@ -44,8 +44,7 @@ using ::rtl::OUString;
+
+ // ---------------------------------------------------
+ ManifestImport::ManifestImport( vector < Sequence < PropertyValue > > & rNewManVector )
+-: nNumProperty ( 0 )
+-, bIgnoreEncryptData ( sal_False )
++: bIgnoreEncryptData ( sal_False )
+ , nDerivedKeySize( 0 )
+ , rManVector ( rNewManVector )
+
+@@ -123,177 +122,235 @@ void SAL_CALL ManifestImport::endDocument( )
+ {
+ }
+
+-// ---------------------------------------------------
+-void SAL_CALL ManifestImport::startElement( const OUString& aName, const uno::Reference< xml::sax::XAttributeList >& xAttribs )
+- throw( xml::sax::SAXException, uno::RuntimeException )
++void ManifestImport::doFileEntry(StringHashMap &rConvertedAttribs)
++ throw( uno::RuntimeException )
+ {
+- StringHashMap aConvertedAttribs;
+- ::rtl::OUString aConvertedName = PushNameAndNamespaces( aName, xAttribs, aConvertedAttribs );
++ aSequence.resize(PKG_SIZE_ENCR_MNFST);
+
+- if ( aConvertedName == sFileEntryElement )
++ aSequence[PKG_MNFST_FULLPATH].Name = sFullPathProperty;
++ aSequence[PKG_MNFST_FULLPATH].Value <<= rConvertedAttribs[sFullPathAttribute];
++ aSequence[PKG_MNFST_MEDIATYPE].Name = sMediaTypeProperty;
++ aSequence[PKG_MNFST_MEDIATYPE].Value <<= rConvertedAttribs[sMediaTypeAttribute];
++
++ OUString sVersion = rConvertedAttribs[sVersionAttribute];
++ if ( sVersion.getLength() )
+ {
+- aSequence.realloc ( PKG_SIZE_ENCR_MNFST );
++ aSequence[PKG_MNFST_VERSION].Name = sVersionProperty;
++ aSequence[PKG_MNFST_VERSION].Value <<= sVersion;
++ }
+
+- // Put full-path property first for MBA
+- aSequence[nNumProperty].Name = sFullPathProperty;
+- aSequence[nNumProperty++].Value <<= aConvertedAttribs[sFullPathAttribute];
+- aSequence[nNumProperty].Name = sMediaTypeProperty;
+- aSequence[nNumProperty++].Value <<= aConvertedAttribs[sMediaTypeAttribute];
++ OUString sSize = rConvertedAttribs[sSizeAttribute];
++ if ( sSize.getLength() )
++ {
++ sal_Int32 nSize = sSize.toInt32();
++ aSequence[PKG_MNFST_UCOMPSIZE].Name = sSizeProperty;
++ aSequence[PKG_MNFST_UCOMPSIZE].Value <<= nSize;
++ }
++}
+
+- OUString sVersion = aConvertedAttribs[sVersionAttribute];
+- if ( sVersion.getLength() )
++void ManifestImport::doEncryptionData(StringHashMap &rConvertedAttribs)
++ throw( uno::RuntimeException )
++{
++ // If this element exists, then this stream is encrypted and we need
++ // to import the initialisation vector, salt and iteration count used
++ nDerivedKeySize = 0;
++ OUString aString = rConvertedAttribs[sChecksumTypeAttribute];
++ if ( !bIgnoreEncryptData )
++ {
++ if ( aString.equals( sSHA1_1k_Name ) || aString.equals( sSHA1_1k_URL ) )
+ {
+- aSequence[nNumProperty].Name = sVersionProperty;
+- aSequence[nNumProperty++].Value <<= sVersion;
++ aSequence[PKG_MNFST_DIGESTALG].Name = sDigestAlgProperty;
++ aSequence[PKG_MNFST_DIGESTALG].Value <<= xml::crypto::DigestID::SHA1_1K;
+ }
++ else if ( aString.equals( sSHA256_1k_URL ) )
++ {
++ aSequence[PKG_MNFST_DIGESTALG].Name = sDigestAlgProperty;
++ aSequence[PKG_MNFST_DIGESTALG].Value <<= xml::crypto::DigestID::SHA256_1K;
++ }
++ else
++ bIgnoreEncryptData = sal_True;
+
+- OUString sSize = aConvertedAttribs[sSizeAttribute];
+- if ( sSize.getLength() )
++ if ( !bIgnoreEncryptData )
+ {
+- sal_Int32 nSize;
+- nSize = sSize.toInt32();
+- aSequence[nNumProperty].Name = sSizeProperty;
+- aSequence[nNumProperty++].Value <<= nSize;
++ aString = rConvertedAttribs[sChecksumAttribute];
++ uno::Sequence < sal_Int8 > aDecodeBuffer;
++ ::sax::Converter::decodeBase64(aDecodeBuffer, aString);
++ aSequence[PKG_MNFST_DIGEST].Name = sDigestProperty;
++ aSequence[PKG_MNFST_DIGEST].Value <<= aDecodeBuffer;
+ }
+ }
+- else if ( aStack.size() > 1 )
++}
++
++void ManifestImport::doAlgorithm(StringHashMap &rConvertedAttribs)
++ throw( uno::RuntimeException )
++{
++ if ( !bIgnoreEncryptData )
+ {
+- ManifestStack::reverse_iterator aIter = aStack.rbegin();
+- ++aIter;
++ OUString aString = rConvertedAttribs[sAlgorithmNameAttribute];
++ if ( aString.equals( sBlowfish_Name ) || aString.equals( sBlowfish_URL ) )
++ {
++ aSequence[PKG_MNFST_ENCALG].Name = sEncryptionAlgProperty;
++ aSequence[PKG_MNFST_ENCALG].Value <<= xml::crypto::CipherID::BLOWFISH_CFB_8;
++ }
++ else if ( aString.equals( sAES256_URL ) )
++ {
++ aSequence[PKG_MNFST_ENCALG].Name = sEncryptionAlgProperty;
++ aSequence[PKG_MNFST_ENCALG].Value <<= xml::crypto::CipherID::AES_CBC_W3C_PADDING;
++ OSL_ENSURE( !nDerivedKeySize || nDerivedKeySize == 32, "Unexpected derived key length!" );
++ nDerivedKeySize = 32;
++ }
++ else if ( aString.equals( sAES192_URL ) )
++ {
++ aSequence[PKG_MNFST_ENCALG].Name = sEncryptionAlgProperty;
++ aSequence[PKG_MNFST_ENCALG].Value <<= xml::crypto::CipherID::AES_CBC_W3C_PADDING;
++ OSL_ENSURE( !nDerivedKeySize || nDerivedKeySize == 24, "Unexpected derived key length!" );
++ nDerivedKeySize = 24;
++ }
++ else if ( aString.equals( sAES128_URL ) )
++ {
++ aSequence[PKG_MNFST_ENCALG].Name = sEncryptionAlgProperty;
++ aSequence[PKG_MNFST_ENCALG].Value <<= xml::crypto::CipherID::AES_CBC_W3C_PADDING;
++ OSL_ENSURE( !nDerivedKeySize || nDerivedKeySize == 16, "Unexpected derived key length!" );
++ nDerivedKeySize = 16;
++ }
++ else
++ bIgnoreEncryptData = sal_True;
+
+- if ( aIter->m_aConvertedName.equals( sFileEntryElement ) )
++ if ( !bIgnoreEncryptData )
+ {
+- if ( aConvertedName.equals( sEncryptionDataElement ) )
+- {
+- // If this element exists, then this stream is encrypted and we need
+- // to import the initialisation vector, salt and iteration count used
+- nDerivedKeySize = 0;
+- OUString aString = aConvertedAttribs[sChecksumTypeAttribute];
+- if ( !bIgnoreEncryptData )
+- {
+- if ( aString.equals( sSHA1_1k_Name ) || aString.equals( sSHA1_1k_URL ) )
+- {
+- aSequence[nNumProperty].Name = sDigestAlgProperty;
+- aSequence[nNumProperty++].Value <<= xml::crypto::DigestID::SHA1_1K;
+- }
+- else if ( aString.equals( sSHA256_1k_URL ) )
+- {
+- aSequence[nNumProperty].Name = sDigestAlgProperty;
+- aSequence[nNumProperty++].Value <<= xml::crypto::DigestID::SHA256_1K;
+- }
+- else
+- bIgnoreEncryptData = sal_True;
+-
+- if ( !bIgnoreEncryptData )
+- {
+- aString = aConvertedAttribs[sChecksumAttribute];
+- uno::Sequence < sal_Int8 > aDecodeBuffer;
+- Base64Codec::decodeBase64( aDecodeBuffer, aString );
+- aSequence[nNumProperty].Name = sDigestProperty;
+- aSequence[nNumProperty++].Value <<= aDecodeBuffer;
+- }
+- }
+- }
++ aString = rConvertedAttribs[sInitialisationVectorAttribute];
++ uno::Sequence < sal_Int8 > aDecodeBuffer;
++ ::sax::Converter::decodeBase64(aDecodeBuffer, aString);
++ aSequence[PKG_MNFST_INIVECTOR].Name = sInitialisationVectorProperty;
++ aSequence[PKG_MNFST_INIVECTOR].Value <<= aDecodeBuffer;
+ }
+- else if ( aIter->m_aConvertedName.equals( sEncryptionDataElement ) )
++ }
++}
++
++void ManifestImport::doKeyDerivation(StringHashMap &rConvertedAttribs)
++ throw( uno::RuntimeException )
++{
++ if ( !bIgnoreEncryptData )
++ {
++ OUString aString = rConvertedAttribs[sKeyDerivationNameAttribute];
++ if ( aString.equals( sPBKDF2_Name ) || aString.equals( sPBKDF2_URL ) )
+ {
+- if ( aConvertedName == sAlgorithmElement )
+- {
+- if ( !bIgnoreEncryptData )
+- {
+- OUString aString = aConvertedAttribs[sAlgorithmNameAttribute];
+- if ( aString.equals( sBlowfish_Name ) || aString.equals( sBlowfish_URL ) )
+- {
+- aSequence[nNumProperty].Name = sEncryptionAlgProperty;
+- aSequence[nNumProperty++].Value <<= xml::crypto::CipherID::BLOWFISH_CFB_8;
+- }
+- else if ( aString.equals( sAES256_URL ) )
+- {
+- aSequence[nNumProperty].Name = sEncryptionAlgProperty;
+- aSequence[nNumProperty++].Value <<= xml::crypto::CipherID::AES_CBC_W3C_PADDING;
+- OSL_ENSURE( !nDerivedKeySize || nDerivedKeySize == 32, "Unexpected derived key length!" );
+- nDerivedKeySize = 32;
+- }
+- else if ( aString.equals( sAES192_URL ) )
+- {
+- aSequence[nNumProperty].Name = sEncryptionAlgProperty;
+- aSequence[nNumProperty++].Value <<= xml::crypto::CipherID::AES_CBC_W3C_PADDING;
+- OSL_ENSURE( !nDerivedKeySize || nDerivedKeySize == 24, "Unexpected derived key length!" );
+- nDerivedKeySize = 24;
+- }
+- else if ( aString.equals( sAES128_URL ) )
+- {
+- aSequence[nNumProperty].Name = sEncryptionAlgProperty;
+- aSequence[nNumProperty++].Value <<= xml::crypto::CipherID::AES_CBC_W3C_PADDING;
+- OSL_ENSURE( !nDerivedKeySize || nDerivedKeySize == 16, "Unexpected derived key length!" );
+- nDerivedKeySize = 16;
+- }
+- else
+- bIgnoreEncryptData = sal_True;
+-
+- if ( !bIgnoreEncryptData )
+- {
+- aString = aConvertedAttribs[sInitialisationVectorAttribute];
+- uno::Sequence < sal_Int8 > aDecodeBuffer;
+- Base64Codec::decodeBase64 ( aDecodeBuffer, aString );
+- aSequence[nNumProperty].Name = sInitialisationVectorProperty;
+- aSequence[nNumProperty++].Value <<= aDecodeBuffer;
+- }
+- }
+- }
+- else if ( aConvertedName == sKeyDerivationElement )
++ aString = rConvertedAttribs[sSaltAttribute];
++ uno::Sequence < sal_Int8 > aDecodeBuffer;
++ ::sax::Converter::decodeBase64(aDecodeBuffer, aString);
++ aSequence[PKG_MNFST_SALT].Name = sSaltProperty;
++ aSequence[PKG_MNFST_SALT].Value <<= aDecodeBuffer;
++
++ aString = rConvertedAttribs[sIterationCountAttribute];
++ aSequence[PKG_MNFST_ITERATION].Name = sIterationCountProperty;
++ aSequence[PKG_MNFST_ITERATION].Value <<= aString.toInt32();
++
++ aString = rConvertedAttribs[sKeySizeAttribute];
++ if ( aString.getLength() )
+ {
+- if ( !bIgnoreEncryptData )
+- {
+- OUString aString = aConvertedAttribs[sKeyDerivationNameAttribute];
+- if ( aString.equals( sPBKDF2_Name ) || aString.equals( sPBKDF2_URL ) )
+- {
+- aString = aConvertedAttribs[sSaltAttribute];
+- uno::Sequence < sal_Int8 > aDecodeBuffer;
+- Base64Codec::decodeBase64 ( aDecodeBuffer, aString );
+- aSequence[nNumProperty].Name = sSaltProperty;
+- aSequence[nNumProperty++].Value <<= aDecodeBuffer;
+-
+- aString = aConvertedAttribs[sIterationCountAttribute];
+- aSequence[nNumProperty].Name = sIterationCountProperty;
+- aSequence[nNumProperty++].Value <<= aString.toInt32();
+-
+- aString = aConvertedAttribs[sKeySizeAttribute];
+- if ( aString.getLength() )
+- {
+- sal_Int32 nKey = aString.toInt32();
+- OSL_ENSURE( !nDerivedKeySize || nKey == nDerivedKeySize , "Provided derived key length differs from the expected one!" );
+- nDerivedKeySize = nKey;
+- }
+- else if ( !nDerivedKeySize )
+- nDerivedKeySize = 16;
+- else if ( nDerivedKeySize != 16 )
+- OSL_ENSURE( sal_False, "Default derived key length differs from the expected one!" );
+-
+- aSequence[nNumProperty].Name = sDerivedKeySizeProperty;
+- aSequence[nNumProperty++].Value <<= nDerivedKeySize;
+- }
+- else
+- bIgnoreEncryptData = sal_True;
+- }
+- }
+- else if ( aConvertedName == sStartKeyAlgElement )
+- {
+- OUString aString = aConvertedAttribs[sStartKeyAlgNameAttribute];
+- if ( aString.equals( sSHA256_URL ) )
+- {
+- aSequence[nNumProperty].Name = sStartKeyAlgProperty;
+- aSequence[nNumProperty++].Value <<= xml::crypto::DigestID::SHA256;
+- }
+- else if ( aString.equals( sSHA1_Name ) || aString.equals( sSHA1_URL ) )
+- {
+- aSequence[nNumProperty].Name = sStartKeyAlgProperty;
+- aSequence[nNumProperty++].Value <<= xml::crypto::DigestID::SHA1;
+- }
+- else
+- bIgnoreEncryptData = sal_True;
++ sal_Int32 nKey = aString.toInt32();
++ OSL_ENSURE( !nDerivedKeySize || nKey == nDerivedKeySize , "Provided derived key length differs from the expected one!" );
++ nDerivedKeySize = nKey;
+ }
++ else if ( !nDerivedKeySize )
++ nDerivedKeySize = 16;
++ else if ( nDerivedKeySize != 16 )
++ OSL_ENSURE( sal_False, "Default derived key length differs from the expected one!" );
++
++ aSequence[PKG_MNFST_DERKEYSIZE].Name = sDerivedKeySizeProperty;
++ aSequence[PKG_MNFST_DERKEYSIZE].Value <<= nDerivedKeySize;
++ }
++ else
++ bIgnoreEncryptData = sal_True;
++ }
++}
++
++void ManifestImport::doStartKeyAlg(StringHashMap &rConvertedAttribs)
++ throw( uno::RuntimeException )
++{
++ OUString aString = rConvertedAttribs[sStartKeyAlgNameAttribute];
++ if ( aString.equals( sSHA256_URL ) )
++ {
++ aSequence[PKG_MNFST_STARTALG].Name = sStartKeyAlgProperty;
++ aSequence[PKG_MNFST_STARTALG].Value <<= xml::crypto::DigestID::SHA256;
++ }
++ else if ( aString.equals( sSHA1_Name ) || aString.equals( sSHA1_URL ) )
++ {
++ aSequence[PKG_MNFST_STARTALG].Name = sStartKeyAlgProperty;
++ aSequence[PKG_MNFST_STARTALG].Value <<= xml::crypto::DigestID::SHA1;
++ }
++ else
++ bIgnoreEncryptData = sal_True;
++}
++
++// ---------------------------------------------------
++void SAL_CALL ManifestImport::startElement( const OUString& aName, const uno::Reference< xml::sax::XAttributeList >& xAttribs )
++ throw( xml::sax::SAXException, uno::RuntimeException )
++{
++ StringHashMap aConvertedAttribs;
++ ::rtl::OUString aConvertedName = PushNameAndNamespaces( aName, xAttribs, aConvertedAttribs );
++
++ size_t nLevel = aStack.size();
++
++ assert(nLevel >= 1);
++
++ switch (nLevel)
++ {
++ case 1:
++ {
++ if (!aConvertedName.equalsAscii(ELEMENT_MANIFEST)) //manifest:manifest
++ aStack.back().m_bValid = false;
++ break;
++ }
++ case 2:
++ {
++ if (aConvertedName == sFileEntryElement) //manifest:file-entry
++ doFileEntry(aConvertedAttribs);
++ else
++ aStack.back().m_bValid = false;
++ break;
+ }
++ case 3:
++ {
++ ManifestStack::reverse_iterator aIter = aStack.rbegin();
++ ++aIter;
++
++ if (!aIter->m_bValid)
++ aStack.back().m_bValid = false;
++ else if (aConvertedName.equals(sEncryptionDataElement)) //manifest:encryption-data
++ doEncryptionData(aConvertedAttribs);
++ else
++ aStack.back().m_bValid = false;
++ break;
++ }
++ case 4:
++ {
++ ManifestStack::reverse_iterator aIter = aStack.rbegin();
++ ++aIter;
++
++ if (!aIter->m_bValid)
++ aStack.back().m_bValid = false;
++ else if (aConvertedName.equals(sAlgorithmElement)) //manifest:algorithm,
++ doAlgorithm(aConvertedAttribs);
++ else if (aConvertedName.equals(sKeyDerivationElement)) //manifest:key-derivation,
++ doKeyDerivation(aConvertedAttribs);
++ else if (aConvertedName.equals(sStartKeyAlgElement)) //manifest:start-key-generation
++ doStartKeyAlg(aConvertedAttribs);
++ else
++ aStack.back().m_bValid = false;
++ break;
++ }
++ default:
++ aStack.back().m_bValid = false;
++ break;
++ }
++}
++
++namespace
++{
++ bool isEmpty(const com::sun::star::beans::PropertyValue &rProp)
++ {
++ return rProp.Name.isEmpty();
+ }
+ }
+
+@@ -304,12 +361,16 @@ void SAL_CALL ManifestImport::endElement( const OUString& aName )
+ ::rtl::OUString aConvertedName = ConvertName( aName );
+ if ( !aStack.empty() && aStack.rbegin()->m_aConvertedName.equals( aConvertedName ) )
+ {
+- if ( aConvertedName.equals( sFileEntryElement ) )
++ if ( aConvertedName.equals( sFileEntryElement ) && aStack.back().m_bValid )
+ {
+- aSequence.realloc ( nNumProperty );
++ com::sun::star::beans::PropertyValue aEmpty;
++ aSequence.erase(std::remove_if(aSequence.begin(), aSequence.end(),
++ isEmpty), aSequence.end());
++
+ bIgnoreEncryptData = sal_False;
+- rManVector.push_back ( aSequence );
+- nNumProperty = 0;
++ rManVector.push_back ( aSequence.getAsConstList() );
++
++ aSequence.clear();
+ }
+
+ aStack.pop_back();
+diff --git a/package/source/manifest/ManifestImport.hxx b/package/source/manifest/ManifestImport.hxx
+index 1c646a7..68afefd 100644
+--- a/package/source/manifest/ManifestImport.hxx
++++ b/package/source/manifest/ManifestImport.hxx
+@@ -31,6 +31,7 @@
+
+ #include <cppuhelper/implbase1.hxx> // helper for implementations
+ #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
++#include <comphelper/sequenceasvector.hxx>
+ #include <vector>
+
+ #include <HashMaps.hxx>
+@@ -46,10 +47,12 @@ struct ManifestScopeEntry
+ {
+ ::rtl::OUString m_aConvertedName;
+ StringHashMap m_aNamespaces;
++ bool m_bValid;
+
+ ManifestScopeEntry( const ::rtl::OUString& aConvertedName, const StringHashMap& aNamespaces )
+ : m_aConvertedName( aConvertedName )
+ , m_aNamespaces( aNamespaces )
++ , m_bValid( true )
+ {}
+
+ ~ManifestScopeEntry()
+@@ -61,8 +64,7 @@ typedef ::std::vector< ManifestScopeEntry > ManifestStack;
+ class ManifestImport : public cppu::WeakImplHelper1 < com::sun::star::xml::sax::XDocumentHandler >
+ {
+ protected:
+- com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue > aSequence;
+- sal_Int16 nNumProperty;
++ comphelper::SequenceAsVector< com::sun::star::beans::PropertyValue > aSequence;
+ ManifestStack aStack;
+ sal_Bool bIgnoreEncryptData;
+ sal_Int32 nDerivedKeySize;
+@@ -148,6 +150,12 @@ public:
+ throw(::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setDocumentLocator( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XLocator >& xLocator )
+ throw(::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
++private:
++ void doFileEntry(StringHashMap &rConvertedAttribs) throw(::com::sun::star::uno::RuntimeException);
++ void doEncryptionData(StringHashMap &rConvertedAttribs) throw(::com::sun::star::uno::RuntimeException);
++ void doAlgorithm(StringHashMap &rConvertedAttribs) throw(::com::sun::star::uno::RuntimeException);
++ void doKeyDerivation(StringHashMap &rConvertedAttribs) throw(::com::sun::star::uno::RuntimeException);
++ void doStartKeyAlg(StringHashMap &rConvertedAttribs) throw(::com::sun::star::uno::RuntimeException);
+ };
+ #endif
+
+diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx
+index 16d5a00..f154dfe 100644
+--- a/package/source/zipapi/ZipFile.cxx
++++ b/package/source/zipapi/ZipFile.cxx
+@@ -157,6 +157,12 @@ uno::Reference< xml::crypto::XCipherContext > ZipFile::StaticGetCipher( const un
+
+ try
+ {
++ if (xEncryptionData->m_nDerivedKeySize < 0)
++ {
++ throw ZipIOException( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Invalid derived key length!") ),
++ uno::Reference< XInterface >() );
++ }
++
+ uno::Sequence< sal_Int8 > aDerivedKey( xEncryptionData->m_nDerivedKeySize );
+ if ( rtl_Digest_E_None != rtl_digest_PBKDF2( reinterpret_cast< sal_uInt8* >( aDerivedKey.getArray() ),
+ aDerivedKey.getLength(),
+@@ -192,7 +198,7 @@ uno::Reference< xml::crypto::XCipherContext > ZipFile::StaticGetCipher( const un
+ uno::Reference< XInterface >() );
+ }
+ }
+- catch( uno::Exception& )
++ catch( ... )
+ {
+ OSL_ENSURE( sal_False, "Can not create cipher context!" );
+ }
+@@ -699,7 +705,7 @@ sal_Bool ZipFile::readLOC( ZipEntry &rEntry )
+ || rEntry.nPathLen != nPathLen
+ || !rEntry.sPath.equals( sLOCPath );
+ }
+- catch(::std::bad_alloc &)
++ catch(...)
+ {
+ bBroken = sal_True;
+ }
--- /dev/null
+diff --git a/configure.in b/configure.in
+index 3257668..afd36de 100755
+--- libreoffice-3.5.0/configure.in
++++ libreoffice-3.5.0/configure.in
+@@ -2352,8 +2352,13 @@
+ dnl ===================================================================
+ AC_MSG_CHECKING([whether to include symbols])
+ if test -n "$enable_symbols" -a "$enable_symbols" != "no"; then
+- ENABLE_SYMBOLS="TRUE"
+- AC_MSG_RESULT([yes])
++ if test "$enable_symbols" = "SMALL" -o "$enable_symbols" = "small"; then
++ ENABLE_SYMBOLS="SMALL"
++ AC_MSG_RESULT([yes, small ones])
++ else
++ ENABLE_SYMBOLS="TRUE"
++ AC_MSG_RESULT([yes])
++ fi
+ else
+ ENABLE_SYMBOLS=
+ AC_MSG_RESULT([no])
+diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
+index c73333f..9338110 100644
+--- libreoffice-3.5.0/solenv/inc/unxgcc.mk
++++ libreoffice-3.5.0/solenv/inc/unxgcc.mk
+@@ -73,7 +73,11 @@
+ CFLAGS+=-fmessage-length=0 -c
+
+ # flags to enable build with symbols
++.IF "$(ENABLE_SYMBOLS)" == "SMALL"
++CFLAGSENABLESYMBOLS=-g1
++.ELSE
+ CFLAGSENABLESYMBOLS=-g
++.ENDIF
+
+ # flags for the C++ Compiler
+ CFLAGSCC= -pipe $(ARCH_FLAGS)
+@@ -106,7 +106,11 @@ CFLAGSSLOCUIMT=$(PICSWITCH)
+ # Compiler flags for profiling
+ CFLAGSPROF=
+ # Compiler flags for debugging
++.IF "$(ENABLE_SYMBOLS)"=="SMALL"
++CFLAGSDEBUG=-g1
++.ELSE
+ CFLAGSDEBUG=-g
++.ENDIF
+ CFLAGSDBGUTIL=
+
+ GCCNUMVERSION_CMD=-dumpversion $(PIPEERROR) $(AWK) -v num=true -f $(SOLARENV)/bin/getcompver.awk
+--- libreoffice-3.5.0/solenv/gbuild/platform/unxgcc.mk.orig 2011-07-05 12:38:23.398653265 +0200
++++ libreoffice-3.5.0/solenv/gbuild/platform/unxgcc.mk 2011-07-05 14:10:50.598728992 +0200
+@@ -217,9 +217,14 @@
+ gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR)
+
+ ifeq ($(gb_SYMBOL),$(true))
++ifeq ($(ENABLE_SYMBOLS),SMALL)
++gb_LinkTarget_CXXFLAGS += -g1
++gb_LinkTarget_CFLAGS += -g1
++else
+ gb_LinkTarget_CXXFLAGS += -ggdb2
+ gb_LinkTarget_CFLAGS += -ggdb2
+ endif
++endif
+
+ # note that `cat $(extraobjectlist)` is needed to build with older gcc versions, e.g. 4.1.2 on SLED10
+ # we want to use @$(extraobjectlist) in the long run
--- /dev/null
+--- a/configure.in-old 2012-03-02 21:48:47.000000000 +0000
++++ b/configure.in 2012-03-02 21:51:29.000000000 +0000
+@@ -9671,6 +9671,17 @@
+ fi
+ AC_SUBST(CDEFAULTOPT)
+
++if test -x /usr/bin/dpkg-buildflags; then
++ HARDEN_CFLAGS=`dpkg-buildflags --get CFLAGS 2>/dev/null | sed -e s/-g// | sed -e s/-O[[0-3]]//g`
++ HARDEN_CXXFLAGS=`dpkg-buildflags --get CXXFLAGS 2>/dev/null | sed -e s/-g// | sed -e s/-O[[0-3]]//g`
++ HARDEN_CPPFLAGS=`dpkg-buildflags --get CPPFLAGS 2>/dev/null`
++ HARDEN_LDFLAGS=`dpkg-buildflags --get LDFLAGS 2>/dev/null`
++fi
++AC_SUBST(HARDEN_CFLAGS)
++AC_SUBST(HARDEN_CXXFLAGS)
++AC_SUBST(HARDEN_CPPFLAGS)
++AC_SUBST(HARDEN_LDFLAGS)
++
+ dnl ===================================================================
+ dnl Setting up the environment.
+ dnl ===================================================================
+--- a/set_soenv.in-old 2012-03-02 21:52:06.000000000 +0000
++++ b/set_soenv.in 2012-03-02 21:53:27.000000000 +0000
+@@ -1569,6 +1569,10 @@
+ ToFile( "CPU", $CPU, "e" );
+ ToFile( "CPUNAME", $CPUNAME, "e" );
+ ToFile( "CDEFAULTOPT", "@CDEFAULTOPT@", "e" );
++ToFile( "HARDEN_CFLAGS", "@HARDEN_CFLAGS@", "e" );
++ToFile( "HARDEN_CXXFLAGS", "@HARDEN_CXXFLAGS@","e" );
++ToFile( "HARDEN_CPPFLAGS", "@HARDEN_CPPFLAGS@","e" );
++ToFile( "HARDEN_LDFLAGS", "@HARDEN_LDFLAGS@", "e" );
+ ToFile( "GUI", $GUI, "e" );
+ ToFile( "GUIBASE", $GUIBASE, "e" );
+ ToFile( "GVER", $GVER, "e" );
+diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
+index c094bb4..a0608f4 100644
+--- a/solenv/gbuild/LinkTarget.mk
++++ b/solenv/gbuild/LinkTarget.mk
+@@ -46,6 +46,8 @@ CXXFLAGS ?= $(gb_COMPILEROPTFLAGS)
+ OBJCXXFLAGS ?= $(gb_COMPILEROPTFLAGS)
+ endif
+
++LDFLAGS += $(HARDEN_LDFLAGS)
++
+ # if enabled we link all of these libraries into one larger, merged library
+ # for which we can do a lot more optimisation, and which is faster to read
+ # from disk.
+diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
+index e85ed83..1665642 100644
+--- a/solenv/gbuild/gbuild.mk
++++ b/solenv/gbuild/gbuild.mk
+@@ -141,6 +141,9 @@ gb__ENV_CXXFLAGS := $(ENVCFLAGSCXX)
+ endif
+ endif
+
++gb__ENV_CXXFLAGS += $(HARDEN_CXXFLAGS)
++gb__ENV_CFLAGS += $(HARDEN_CFLAGS)
++
+ include $(GBUILDDIR)/Helper.mk
+ include $(GBUILDDIR)/TargetLocations.mk
+
+@@ -240,6 +243,8 @@ ifeq ($(HAVE_THREADSAFE_STATICS),TRUE)
+ gb_GLOBALDEFS += -DHAVE_THREADSAFE_STATICS
+ endif
+
++gb_GLOBALDEFS += $(HARDEN_CPPFLAGS)
++
+ gb_GLOBALDEFS := $(sort $(gb_GLOBALDEFS))
+
+ include $(GBUILDDIR)/Deliver.mk
+diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
+index a3231a6..b97f354 100644
+--- a/solenv/inc/unxgcc.mk
++++ b/solenv/inc/unxgcc.mk
+@@ -233,6 +233,10 @@ LINKFLAGS += -Wl,--hash-style=$(WITH_LINKER_HASH_STYLE)
+ LINKFLAGS += -Wl,-zdynsort
+ .ENDIF
+
++LINKFLAGS += $(HARDEN_LDFLAGS)
++CDEFS += $(HARDEN_CPPFLAGS)
++CFLAGS += $(HARDEN_CFLAGS)
++
+ # libraries for linking applications
+ STDLIBGUIMT+=-Wl,--as-needed $(DL_LIB) $(PTHREAD_LIBS) -lm -Wl,--no-as-needed
+ STDLIBCUIMT+=-Wl,--as-needed $(DL_LIB) $(PTHREAD_LIBS) -lm -Wl,--no-as-needed
--- /dev/null
+diff --git a/configure.in b/configure.in
+index c0b76f8..d10222f 100644
+--- libreoffice-3.5.0/configure.in
++++ libreoffice-3.5.0/configure.in
+@@ -7936,6 +7936,13 @@ fi
+ AC_SUBST(GMAKE_PARALLELISM)
+ AC_SUBST(GMAKE_MODULE_PARALLELISM)
+
++if test -x /usr/bin/dpkg-buildflags; then
++ CDEFAULTOPT=`dpkg-buildflags --get CFLAGS 2>/dev/null | grep -E -o "\-O[[0-3]]"`
++else
++ CDEFAULTOPT=-O2
++fi
++AC_SUBST(CDEFAULTOPT)
++
+ dnl ===================================================================
+ dnl Setting up the environment.
+ dnl ===================================================================
+diff --git a/set_soenv.in b/set_soenv.in
+index ea9f10c..1b32f7f 100644
+--- libreoffice-3.5.0/set_soenv.in
++++ libreoffice-3.5.0/set_soenv.in
+@@ -1562,6 +1562,7 @@
+ ToFile( "COMPATH", $COMPATH, "e" );
+ ToFile( "CPU", $CPU, "e" );
+ ToFile( "CPUNAME", $CPUNAME, "e" );
++ToFile( "CDEFAULTOPT", "@CDEFAULTOPT@", "e" );
+ ToFile( "GUI", $GUI, "e" );
+ ToFile( "GUIBASE", $GUIBASE, "e" );
+ ToFile( "GVER", $GVER, "e" );
+diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
+index b54736c..4f7177d 100644
+--- libreoffice-3.5.0/solenv/inc/unxgcc.mk
++++ libreoffice-3.5.0/solenv/inc/unxgcc.mk
+@@ -31,7 +31,7 @@ ASM*=
+ AFLAGS*=
+ SOLAR_JAVA*=
+ # default optimization level for product code
+-CDEFAULTOPT*=-O2
++CDEFAULTOPT*=$(shell dpkg-buildflags --get CFLAGS 2>/dev/null | $(GREP) -E -o "\-O[0-3]" || echo "-O2")
+ # architecture dependent flags for the C and C++ compiler that can be changed by
+ # exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build
+ ARCH_FLAGS*=
+diff --git a/solenv/inc/unxlngi.mk b/solenv/inc/unxlngi.mk
+index d86aab1..a10adb6 100644
+--- libreoffice-3.5.0/solenv/inc/unxlngi.mk
++++ libreoffice-3.5.0/solenv/inc/unxlngi.mk
+@@ -26,7 +26,6 @@
+ #*************************************************************************
+
+ # mk file for Unix Linux Intel (X86) using GCC, please make generic modifications to unxlng.mk
+-CDEFAULTOPT=-Os
+ .IF "$(GCCNUMVER)" >= "000400050000"
+ ARCH_FLAGS*=-mtune=atom
+ .ELSE
+diff --git a/solenv/inc/unxlngm68k.mk b/solenv/inc/unxlngm68k.mk
+index da6ed55..284bfa8 100644
+--- libreoffice-3.5.0/solenv/inc/unxlngm68k.mk
++++ libreoffice-3.5.0/solenv/inc/unxlngm68k.mk
+@@ -27,7 +27,6 @@
+
+ # mk file for Unix Linux m68k using GCC, please make generic modifications to unxlng.mk
+
+-CDEFAULTOPT=-Os
+ PICSWITCH:=-fPIC
+ .INCLUDE : unxlng.mk
+ CDEFS+=-DM68K
+diff --git a/solenv/inc/unxlngmips.mk b/solenv/inc/unxlngmips.mk
+index 53c927d..c1b7164 100644
+--- libreoffice-3.5.0/solenv/inc/unxlngmips.mk
++++ libreoffice-3.5.0/solenv/inc/unxlngmips.mk
+@@ -27,6 +27,5 @@
+
+ # mk file for Unix Linux Mips using GCC, please make generic modifications to unxlng.mk
+
+-CDEFAULTOPT=-Os
+ .INCLUDE : unxlng.mk
+ CDEFS+=-DMIPS
+diff --git a/solenv/inc/unxlngr.mk b/solenv/inc/unxlngr.mk
+index 1bcbb66..acd84fb 100644
+--- libreoffice-3.5.0/solenv/inc/unxlngr.mk
++++ libreoffice-3.5.0/solenv/inc/unxlngr.mk
+@@ -27,7 +27,6 @@
+
+ # mk file for Unix Linux ARM using GCC, please make generic modifications to unxlng.mk
+
+-CDEFAULTOPT=-Os
+ .INCLUDE : unxlng.mk
+ CDEFS+=-DARM32
+ CFLAGS+=-fno-omit-frame-pointer
+diff --git a/solenv/inc/unxlngs.mk b/solenv/inc/unxlngs.mk
+index b4e6f5f..f33411a 100644
+--- libreoffice-3.5.0/solenv/inc/unxlngs.mk
++++ libreoffice-3.5.0/solenv/inc/unxlngs.mk
+@@ -29,7 +29,6 @@
+
+ ASM=$(CC)
+ AFLAGS=-Wa,-K,PIC -c $(CDEFS)
+-CDEFAULTOPT=-Os
+ PICSWITCH:=-fPIC
+ .INCLUDE : unxlng.mk
+ CDEFS+=-DSPARC
--- /dev/null
+diff -urN smoketest-old/data/Test_DB.xml smoketest/data/Test_DB.xml
+--- a/smoketest-old/data/Test_DB.xml 2011-12-20 16:05:52.000000000 +0000
++++ b/smoketest/data/Test_DB.xml 2011-12-29 23:09:08.000000000 +0000
+@@ -30,9 +30,6 @@
+
+ const cMessageDatabaseService = "Database Service"
+ const cMessageDatabaseOpen = "Open Database"
+-const cMessageDatabaseInsert = "Insert record into Database"
+-const cMessageDatabaseDelete = "Delete record from Database"
+-const cMessageDatabaseSeek = "Read other record from Database"
+ const cMessageDatabaseClose = "Close Database"
+
+ Sub TestDB
+@@ -81,48 +78,6 @@
+ LogTestResult( "Database "+ cMessageDatabaseService, TRUE )
+ End If
+
+- gCurrentTestCase = cDBInsert
+- sCurrentMessage = cMessageDatabaseInsert
+-
+- oRowSet.ActiveConnection = oDBConnection
+-
+- oRowSet.CommandType = com.sun.star.sdb.CommandType.COMMAND
+- oRowSet.Command = "SELECT * FROM " + sTable
+- oRowSet.execute()
+-
+- oRowSet.moveToInsertRow
+- oRowSet.updateString(5, sTestString)
+-
+- oRowSet.insertRow()
+- nRowCount=oRowSet.RowCount
+-
+- oRowSet.moveToCurrentRow()
+-
+- bResult = (oRowSet.getString(5) = sTestString)
+- LogTestResult( "Database "+ cMessageDatabaseInsert, bResult )
+-
+- 'delete only if insert passed
+-
+- if (bResult) Then
+- gCurrentTestCase = cDBDelete
+- sCurrentMessage = cMessageDatabaseDelete
+- oRowSet.deleteRow()
+- bResult = (nRowCount - oRowSet.RowCount = 0)
+- if ( bResult ) Then
+- oRowSet.next()
+- bResult = (nRowCount - oRowSet.RowCount = 1)
+- End If
+- LogTestResult( "Database "+ cMessageDatabaseDelete, bResult )
+- End If
+-
+- ' read other record
+-
+- gCurrentTestCase = cDBSeek
+- sCurrentMessage = cMessageDatabaseSeek
+- oRowSet.first()
+- bResult = not (oRowSet.getString(5) = sTestString)
+- LogTestResult( "Database "+ cMessageDatabaseSeek, bResult )
+-
+ gCurrentTestCase = cDBClose
+ sCurrentMessage = cMessageDatabaseClose
+ oDBConnection.Dispose()
+--- a/dbaccess/Module_dbaccess.mk-old 2012-04-27 23:27:39.194936746 +0200
++++ b/dbaccess/Module_dbaccess.mk 2012-04-27 23:27:47.102975960 +0200
+@@ -45,9 +45,9 @@
+ Package_uiconfig \
+ ))
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
+- JunitTest_dbaccess_complex \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
++# JunitTest_dbaccess_complex \
++#))
+ # JunitTest_dbaccess_unoapi \
+
+ # vim: set noet sw=4 ts=4:
--- /dev/null
+From 803fd4e9b127241e06d0616d4b47b03b652a37bc Mon Sep 17 00:00:00 2001
+From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+Date: Tue, 19 Jul 2011 17:20:43 +0200
+Subject: [PATCH 5/5] disable
+ --dynamic-list-cpp-new/--dynamic-list-cpp-typeino as
+ they SIGSEGV ld
+
+ * at least on linking transex in l10ntools/source with ld from binutils-2.21.52.20110707-1ubuntu1
+---
+ solenv/gbuild/platform/unxgcc.mk | 2 --
+ solenv/inc/unxgcc.mk | 2 +-
+ 2 files changed, 1 insertions(+), 3 deletions(-)
+
+diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
+index 7ad122e..2c3d4b5 100755
+--- libreoffice-3.5.0/solenv/gbuild/platform/unxgcc.mk
++++ libreoffice-3.5.0/solenv/gbuild/platform/unxgcc.mk
+@@ -130,8 +130,6 @@ endif
+
+ ifneq ($(HAVE_LD_BSYMBOLIC_FUNCTIONS),)
+ gb_LinkTarget_LDFLAGS += \
+- -Wl,--dynamic-list-cpp-new \
+- -Wl,--dynamic-list-cpp-typeinfo \
+ -Wl,-Bsymbolic-functions \
+
+ endif
+diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
+index c73333f..8c19388 100644
+--- libreoffice-3.5.0/solenv/inc/unxgcc.mk
++++ libreoffice-3.5.0/solenv/inc/unxgcc.mk
+@@ -180,7 +180,7 @@ LINKFLAGSRUNPATH_NONE=
+ # flag -Wl,-z,noexecstack sets the NX bit on the stack
+ LINKFLAGS=-Wl,-z,noexecstack -Wl,-z,combreloc $(LINKFLAGSDEFS) $(LINKFLAGS_SYSBASE)
+ .IF "$(HAVE_LD_BSYMBOLIC_FUNCTIONS)" == "TRUE"
+-LINKFLAGS += -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo
++LINKFLAGS += -Wl,-Bsymbolic-functions
+ .ENDIF
+
+ # linker flags for linking applications
+--
+1.7.5.4
--- /dev/null
+diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
+index 9c8696b..385e126 100644
+--- a/sc/Module_sc.mk
++++ b/sc/Module_sc.mk
+@@ -45,7 +45,7 @@ $(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
+ CppunitTest_sc_subsequent_filters_test \
+ CppunitTest_sc_tableautoformatfield \
+ JunitTest_sc_complex \
+- JunitTest_sc_unoapi \
+ ))
++# JunitTest_sc_unoapi \
+
+ # vim: set noet sw=4 ts=4:
+--
+1.7.5.4
+
+--- a/sw/Module_sw.mk-old 2012-02-04 11:25:21.000000000 +0100
++++ b/sw/Module_sw.mk 2012-02-04 11:25:30.000000000 +0100
+@@ -48,7 +48,7 @@
+
+ $(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
+ JunitTest_sw_complex \
+- JunitTest_sw_unoapi \
+ ))
++# JunitTest_sw_unoapi \
+
+ # vim: set noet sw=4 ts=4:
+--- a/chart2/Module_chart2.mk-old 2012-04-12 20:33:26.575094780 +0200
++++ b/chart2/Module_chart2.mk 2012-04-12 20:33:41.079593133 +0200
+@@ -37,8 +37,8 @@
+ Package_uiconfig \
+ ))
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,chart2,\
+- JunitTest_chart2_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,chart2,\
++# JunitTest_chart2_unoapi \
++#))
+
+ # vim: set noet sw=4 ts=4:
+--- a/configmgr/Module_configmgr.mk-old 2012-04-12 20:34:16.768257030 +0200
++++ b/configmgr/Module_configmgr.mk 2012-04-12 20:34:25.875593317 +0200
+@@ -28,8 +28,8 @@
+
+ $(eval $(call gb_Module_Module,configmgr))
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,configmgr,\
+- JunitTest_configmgr_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,configmgr,\
++# JunitTest_configmgr_unoapi \
++#))
+
+ # vim: set noet sw=4 ts=4:
+--- a/dbaccess/Module_dbaccess.mk-old 2012-04-12 20:34:51.172042458 +0200
++++ b/dbaccess/Module_dbaccess.mk 2012-04-12 20:35:03.326470631 +0200
+@@ -47,7 +47,7 @@
+
+ $(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
+ JunitTest_dbaccess_complex \
+- JunitTest_dbaccess_unoapi \
+ ))
++# JunitTest_dbaccess_unoapi \
+
+ # vim: set noet sw=4 ts=4:
+--- a/forms/Module_forms.mk-old 2012-04-12 20:37:38.583592872 +0200
++++ b/forms/Module_forms.mk 2012-04-12 20:37:48.235130657 +0200
+@@ -35,8 +35,8 @@
+ ))
+
+ $(eval $(call gb_Module_add_subsequentcheck_targets,forms,\
+- JunitTest_forms_unoapi \
+ JunitTest_forms_complex \
+ ))
++# JunitTest_forms_unoapi \
+
+ # vim: set noet sw=4 ts=4:
+--- a/framework/Module_framework.mk-old 2012-04-12 20:38:11.659095456 +0200
++++ b/framework/Module_framework.mk 2012-04-12 20:38:27.267105160 +0200
+@@ -49,6 +49,7 @@
+
+ $(eval $(call gb_Module_add_subsequentcheck_targets,framework,\
+ JunitTest_framework_complex \
+- JunitTest_framework_unoapi \
+ ))
++# JunitTest_framework_unoapi \
++
+ # vim: set noet sw=4 ts=4:
+--- a/linguistic/Module_linguistic.mk-old 2012-03-27 18:22:01.000000000 +0200
++++ b/linguistic/Module_linguistic.mk 2012-04-12 20:39:05.695131100 +0200
+@@ -36,9 +36,9 @@
+ #$(eval $(call gb_Module_add_check_targets,linguistic,\
+ #))
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,linguistic,\
+- JunitTest_linguistic_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,linguistic,\
++# JunitTest_linguistic_unoapi \
++#))
+
+ # was disabled in old build system
+ # JunitTest_linguistic_complex \
+--- a/qadevOOo/Module_qadevOOo.mk-old 2012-04-12 20:39:33.471868258 +0200
++++ b/qadevOOo/Module_qadevOOo.mk 2012-04-12 20:39:40.580295944 +0200
+@@ -35,8 +35,8 @@
+ ))
+ endif
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,qadevOOo,\
+- JunitTest_qadevOOo_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,qadevOOo,\
++# JunitTest_qadevOOo_unoapi \
++#))
+
+ # vim: set noet sw=4 ts=4:
+--- a/sd/Module_sd.mk-old 2012-04-12 20:40:09.919107620 +0200
++++ b/sd/Module_sd.mk 2012-04-12 20:40:19.819769802 +0200
+@@ -50,8 +50,8 @@
+ endif
+
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,sd,\
+- JunitTest_sd_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,sd,\
++# JunitTest_sd_unoapi \
++#))
+
+ # vim: set noet sw=4 ts=4:
+--- a/sfx2/Module_sfx2.mk-old 2012-04-12 20:41:25.283497322 +0200
++++ b/sfx2/Module_sfx2.mk 2012-04-12 20:41:39.583096790 +0200
+@@ -41,8 +41,8 @@
+
+ $(eval $(call gb_Module_add_subsequentcheck_targets,sfx2,\
+ JunitTest_sfx2_complex \
+- JunitTest_sfx2_unoapi \
+ ))
++# JunitTest_sfx2_unoapi \
+
+ ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
+ ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
+--- a/starmath/Module_starmath.mk-old 2012-04-12 20:42:04.467516625 +0200
++++ b/starmath/Module_starmath.mk 2012-04-12 20:42:15.211594525 +0200
+@@ -40,8 +40,8 @@
+ CppunitTest_starmath_qa_cppunit \
+ ))
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,starmath,\
+- JunitTest_sm_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,starmath,\
++# JunitTest_sm_unoapi \
++#))
+
+ # vim: set noet sw=4 ts=4:
+--- a/svtools/Module_svtools.mk-old 2012-04-12 20:42:43.376736846 +0200
++++ b/svtools/Module_svtools.mk 2012-04-12 20:42:51.847094197 +0200
+@@ -47,9 +47,9 @@
+ CppunitTest_svtools_filters_test \
+ ))
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,svtools,\
+- JunitTest_svtools_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,svtools,\
++# JunitTest_svtools_unoapi \
++#))
+
+ #todo: javapatchres
+ #todo: jpeg on mac in svtools/util/makefile.mk
+--- a/svx/Module_svx.mk-old 2012-04-12 20:43:18.387100428 +0200
++++ b/svx/Module_svx.mk 2012-04-12 20:43:32.619114561 +0200
+@@ -42,9 +42,9 @@
+ Executable_gengal.bin \
+ ))
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,svx,\
+- JunitTest_svx_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,svx,\
++# JunitTest_svx_unoapi \
++#))
+
+ #todo: noopt for EnhanceCustomShapesFunctionParser.cxx on Solaris Sparc and MacOSX
+ #todo: -DBOOST_SPIRIT_USE_OLD_NAMESPACE only in CustomShapes ?
+--- a/toolkit/Module_toolkit.mk-old 2012-04-12 20:44:00.319101609 +0200
++++ b/toolkit/Module_toolkit.mk 2012-04-12 20:44:10.071096280 +0200
+@@ -35,8 +35,8 @@
+ Package_util \
+ ))
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,toolkit,\
+- JunitTest_toolkit_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,toolkit,\
++# JunitTest_toolkit_unoapi \
++#))
+
+ # vim: set noet sw=4 ts=4:
+--- a/ucb/Module_ucb.mk-old 2012-04-12 20:44:31.851615001 +0200
++++ b/ucb/Module_ucb.mk 2012-04-12 20:44:38.047432481 +0200
+@@ -30,7 +30,7 @@
+
+ $(eval $(call gb_Module_add_subsequentcheck_targets,ucb,\
+ JunitTest_ucb_complex \
+- JunitTest_ucb_unoapi \
+ ))
++# JunitTest_ucb_unoapi \
+
+ # vim: set noet sw=4 ts=4:
+--- a/xmloff/Module_xmloff.mk-old 2012-04-12 20:45:09.983101996 +0200
++++ b/xmloff/Module_xmloff.mk 2012-04-12 20:45:17.767096207 +0200
+@@ -35,9 +35,9 @@
+ Package_inc \
+ ))
+
+-$(eval $(call gb_Module_add_subsequentcheck_targets,xmloff,\
+- JunitTest_xmloff_unoapi \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,xmloff,\
++# JunitTest_xmloff_unoapi \
++#))
+
+ #todo: map file
+ #todo: xmlkywd.lib - built, but never used?!
--- /dev/null
+--- a/connectivity/source/drivers/evoab2/EApi.cxx-old 2012-06-18 18:24:12.964565099 +0200
++++ b/connectivity/source/drivers/evoab2/EApi.cxx 2012-06-18 18:24:37.480686688 +0200
+@@ -33,6 +33,7 @@
+ #define DECLARE_FN_POINTERS 1
+ #include "EApi.h"
+ static const char *eBookLibNames[] = {
++ "libebook-1.2.so.13", // bumped again (evolution-3.4)
+ "libebook-1.2.so.12", // bumped again
+ "libebook-1.2.so.10", // bumped again
+ "libebook-1.2.so.9", // evolution-2.8
--- /dev/null
+diff --git a/set_soenv.in b/set_soenv.in
+index 5347a84..7afcabb 100755
+--- a/set_soenv.in
++++ b/set_soenv.in
+@@ -559,7 +559,7 @@ elsif ( $platform =~ m/linux/ )
+ $JRETOOLKITDIR = $JAVA_HOME.$ds."jre".$ds."lib".$ds."alpha".$ds."server";
+ $JRETHREADDIR = $JAVA_HOME.$ds."jre".$ds."lib".$ds."alpha".$ds."native_threads";
+ }
+- elsif ($platform =~ m/^arm.*?l-/)
++ elsif ($platform =~ m/^arm.*-gnueabi.*/)
+ { print "Setting Linux ARM specific values... ";
+ $oldoutfile = "LinuxARMEnv.Set.sh";
+ $CPU = "R";
--- /dev/null
+From 78719066cb546c7dc74e87488b9b7a695606cf7c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm <at> redhat.com>
+Date: Tue, 6 Mar 2012 09:37:35 +0000
+Subject: [PATCH] wrong types used here, breaks 64bit bigendian
+
+---
+ sw/qa/core/Test-BigPtrArray.cxx | 6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/sw/qa/core/Test-BigPtrArray.cxx b/sw/qa/core/Test-BigPtrArray.cxx
+index 7953dc3..d9be7a2 100644
+--- a/sw/qa/core/Test-BigPtrArray.cxx
++++ b/sw/qa/core/Test-BigPtrArray.cxx
+@@ -82,7 +82,7 @@ namespace /* private */
+ sal_Bool AddToCount(const ElementPtr& rElem, void* pArgs)
+ {
+ BigPtrEntryMock* const pbem = static_cast<BigPtrEntryMock* const>(rElem);
+- pbem->setCount(pbem->getCount() + *((int*)pArgs));
++ pbem->setCount(pbem->getCount() + *((sal_uLong*)pArgs));
+ return true;
+ }
+
+@@ -655,7 +655,7 @@ public:
+ fillBigPtrArray(bparr, NUM_ENTRIES);
+ dumpBigPtrArray(bparr);
+
+- int addCount = 1;
++ sal_uLong addCount = 1;
+ bparr.ForEach(AddToCount, &addCount);
+
+ for (sal_uLong i = 0; i < NUM_ENTRIES; i++)
+@@ -715,7 +715,7 @@ public:
+ fillBigPtrArray(bparr, NUM_ENTRIES);
+ dumpBigPtrArray(bparr);
+
+- int addCount = 1;
++ sal_uLong addCount = 1;
+ bparr.ForEach(NUM_ENTRIES / 2, NUM_ENTRIES, AddToCount, &addCount);
+
+ sal_uLong i = 0;
+--
+1.7.7.6
--- /dev/null
+From 3533328aae5f38d6d21c2baee782abc4511bb649 Mon Sep 17 00:00:00 2001
+From: Lionel Elie Mamane <lionel@mamane.lu>
+Date: Tue, 5 Jun 2012 18:40:13 +0200
+Subject: [PATCH] fdo#47325 legacy reports: survive absence of Sorting hidden
+ control
+
+Reports created in 3.4 and earlier lack it.
+
+Change-Id: I2cf1cad75fff59f23ad98299c4f94253adf7355b
+---
+ .../wizards/report/ReportTextImplementation.java | 11 ++++++++++-
+ 1 files changed, 10 insertions(+), 1 deletions(-)
+
+From 183ac99a1ceebd08f750963dce6170656a201626 Mon Sep 17 00:00:00 2001
+From: Lionel Elie Mamane <lionel@mamane.lu>
+Date: Tue, 5 Jun 2012 21:30:40 +0200
+Subject: [PATCH] fdo#47473 try to set new order only after field columns are
+ available
+
+Change-Id: If8ba8f4e12aaebadec86a7f445a6d32bd363106d
+---
+ .../wizards/report/ReportTextImplementation.java | 7 ++++++-
+ 1 files changed, 6 insertions(+), 1 deletions(-)
+
+--- b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java
++++ b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java
+@@ -57,6 +57,7 @@ import com.sun.star.wizards.common.PropertyNames;
+ import com.sun.star.wizards.common.SystemDialog;
+ import com.sun.star.wizards.db.DBMetaData;
+ import com.sun.star.wizards.document.OfficeDocument;
++import com.sun.star.wizards.document.FormHandler.UnknownHiddenControlException;
+ import com.sun.star.wizards.ui.UIConsts;
+ import java.util.ArrayList;
+ import java.util.Vector;
+@@ -233,7 +234,15 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme
+ String sCommandType = getDoc().oFormHandler.getValueofHiddenControl(xNamedForm, PropertyNames.COMMAND_TYPE, sMsg);
+ String sGroupFieldNames = getDoc().oFormHandler.getValueofHiddenControl(xNamedForm, "GroupFieldNames", sMsg);
+ String sFieldNames = getDoc().oFormHandler.getValueofHiddenControl(xNamedForm, "FieldNames", sMsg);
+- final String sorting = getDoc().oFormHandler.getValueofHiddenControl(xNamedForm, "Sorting", sMsg);
++ String sorting;
++ try
++ {
++ sorting = getDoc().oFormHandler.getValueofHiddenControl(xNamedForm, "Sorting", sMsg);
++ }
++ catch (UnknownHiddenControlException exception)
++ {
++ sorting = "";
++ }
+ String sRecordFieldNames = getDoc().oFormHandler.getValueofHiddenControl(xNamedForm, "RecordFieldNames", sMsg);
+ if (xNamedForm.hasByName("QueryName"))
+ {
+@@ -279,7 +279,6 @@
+ {
+ getRecordParser().Command = (String) oCommand.getPropertySet().getPropertyValue(PropertyNames.COMMAND);
+ getRecordParser().getSQLQueryComposer().m_xQueryAnalyzer.setQuery(getRecordParser().Command);
+- getRecordParser().getSQLQueryComposer().prependSortingCriteria();
+ getRecordParser().Command = getRecordParser().getSQLQueryComposer().getQuery();
+ }
+ else
+@@ -292,7 +291,14 @@
+ bexecute = getRecordParser().executeCommand(nCommandType); //sMsgQueryCreationImpossible + (char) 13 + sMsgEndAutopilot, sFieldNameList, true);
+ if (bexecute)
+ {
++ DBMetaData.CommandObject oCommand = getRecordParser().getQueryByName(sQueryName);
+ bexecute = getRecordParser().getFields(sFieldNameList, true);
++ if (bexecute && getRecordParser().hasEscapeProcessing(oCommand.getPropertySet()))
++ {
++ getRecordParser().getSQLQueryComposer().prependSortingCriteria();
++ getRecordParser().Command = getRecordParser().getSQLQueryComposer().getQuery();
++ bexecute = getRecordParser().executeCommand(nCommandType);
++ }
+ }
+ return bexecute;
+ }
--- /dev/null
+From a7bf1ce30cc49928039cd5dba6293267ed9c35c2 Mon Sep 17 00:00:00 2001
+From: Rene Engelhard <rene@debian.org>
+Date: Wed, 06 Jun 2012 13:49:12 +0000
+Subject: remove -fsigned-char from s390 to fix smoketest..
+
+Change-Id: I66c468e917513cdb096937f9955eb8a41aabaa37
+
+Signed-off-by: Caolán McNamara <caolanm@redhat.com>
+---
+diff --git a/solenv/inc/unxlngs390.mk b/solenv/inc/unxlngs390.mk
+index 0eac39a..af2518f 100644
+--- a/solenv/inc/unxlngs390.mk
++++ b/solenv/inc/unxlngs390.mk
+@@ -30,6 +30,4 @@
+ PICSWITCH:=-fPIC
+ .INCLUDE : unxlng.mk
+ CDEFS+=-DS390
+-CFLAGS+=-fsigned-char -fno-omit-frame-pointer
+-CFLAGSCC+=-fsigned-char
+-CFLAGSCXX+=-fsigned-char
++CFLAGS+=-fno-omit-frame-pointer
+--
+cgit v0.9.0.2-2-gbebe
+
+From fb75552a492ab9ff1f2c6c7820a07862d6b88ba6 Mon Sep 17 00:00:00 2001
+From: Rene Engelhard <rene@debian.org>
+Date: Wed, 06 Jun 2012 13:50:48 +0000
+Subject: signed char is default on m68k...
+
+Change-Id: I5b57e8e9a9dce3eacc665979844f8cb29f968368
+(cherry picked from commit c6b5b20d0a9506ae35421836940bbd1b0e86a3d4)
+
+Signed-off-by: Caolán McNamara <caolanm@redhat.com>
+---
+diff --git a/solenv/inc/unxlngm68k.mk b/solenv/inc/unxlngm68k.mk
+index b6a018a..7ce4156 100644
+--- a/solenv/inc/unxlngm68k.mk
++++ b/solenv/inc/unxlngm68k.mk
+@@ -31,6 +31,4 @@
+ PICSWITCH:=-fPIC
+ .INCLUDE : unxlng.mk
+ CDEFS+=-DM68K
+-CFLAGS+=-fsigned-char -fno-omit-frame-pointer
+-CFLAGSCC+=-fsigned-char
+-CFLAGSCXX+=-fsigned-char
++CFLAGS+=-fno-omit-frame-pointer
+
+From 567147acbc8dcbb6c43652ac6b326759b48df9da Mon Sep 17 00:00:00 2001
+From: Caolán McNamara <caolanm@redhat.com>
+Date: Fri, 08 Jun 2012 07:50:50 +0000
+Subject: Resolves: rhbz#826609, rhbz#820554 fix smoketest on ppc[64] and s390[x]
+
+i.e. restore #i81127# to remove -fsigned-char from old-school dmake
+ppc[64] flags, but also remove them from the new-school gbuild ones.
+
+correspondingly remove -fsigned-char from the very similar s390[x]
+arch equivalents and drop them from the very obscure linux ports
+where I just cut and paste them in the first place.
+
+with 6b3bf27cb56d661725ac3fcfb756562e0ad75564 in place this now passes
+smoketestdoc for me on build from scratch on ppc[64] and s390[x]
+
+Change-Id: I3dae70fd7a3d3adc57cf04a02350689ad097e4d3
+---
+diff --git a/solenv/gbuild/platform/LINUX_AXP_GCC.mk b/solenv/gbuild/platform/LINUX_AXP_GCC.mk
+index 2c5082e..25edcd7 100644
+--- a/solenv/gbuild/platform/LINUX_AXP_GCC.mk
++++ b/solenv/gbuild/platform/LINUX_AXP_GCC.mk
+@@ -27,8 +27,8 @@
+
+ #please make generic modifications to unxgcc.mk or linux.mk
+ gb_COMPILERDEFAULTOPTFLAGS := -Os
+-gb_CXXFLAGS += -fsigned-char -fno-omit-frame-pointer
+-gb_CFLAGS += -fsigned-char -fno-omit-frame-pointer
++gb_CXXFLAGS += -fno-omit-frame-pointer
++gb_CFLAGS += -fno-omit-frame-pointer
+ gb_LinkTarget_LDFLAGS += -Wl,--no-relax
+
+ include $(GBUILDDIR)/platform/linux.mk
+diff --git a/solenv/gbuild/platform/LINUX_M68K_GCC.mk b/solenv/gbuild/platform/LINUX_M68K_GCC.mk
+index 99d01fd..55f69a4 100644
+--- a/solenv/gbuild/platform/LINUX_M68K_GCC.mk
++++ b/solenv/gbuild/platform/LINUX_M68K_GCC.mk
+@@ -27,8 +27,8 @@
+
+ #please make generic modifications to unxgcc.mk or linux.mk
+ gb_COMPILERDEFAULTOPTFLAGS := -Os
+-gb_CXXFLAGS += -fsigned-char -fno-omit-frame-pointer
+-gb_CFLAGS += -fsigned-char -fno-omit-frame-pointer
++gb_CXXFLAGS += -fno-omit-frame-pointer
++gb_CFLAGS += -fno-omit-frame-pointer
+
+ include $(GBUILDDIR)/platform/linux.mk
+
+diff --git a/solenv/gbuild/platform/LINUX_POWERPC64_GCC.mk b/solenv/gbuild/platform/LINUX_POWERPC64_GCC.mk
+index 33f6bd1..08e7b23 100644
+--- a/solenv/gbuild/platform/LINUX_POWERPC64_GCC.mk
++++ b/solenv/gbuild/platform/LINUX_POWERPC64_GCC.mk
+@@ -28,8 +28,7 @@
+ #please make generic modifications to unxgcc.mk or linux.mk
+ gb_CPUDEFS += -DPPC
+ gb_COMPILERDEFAULTOPTFLAGS := -O2
+-gb_CXXFLAGS += -mminimal-toc -fsigned-char
+-gb_CFLAGS += -fsigned-char
++gb_CXXFLAGS += -mminimal-toc
+
+ include $(GBUILDDIR)/platform/linux.mk
+
+diff --git a/solenv/gbuild/platform/LINUX_POWERPC_GCC.mk b/solenv/gbuild/platform/LINUX_POWERPC_GCC.mk
+index 1c78df0..6fe92ec 100644
+--- a/solenv/gbuild/platform/LINUX_POWERPC_GCC.mk
++++ b/solenv/gbuild/platform/LINUX_POWERPC_GCC.mk
+@@ -28,8 +28,6 @@
+ #please make generic modifications to unxgcc.mk or linux.mk
+ gb_CPUDEFS += -DPPC
+ gb_COMPILERDEFAULTOPTFLAGS := -O2
+-gb_CXXFLAGS += -fsigned-char
+-gb_CFLAGS += -fsigned-char
+
+ include $(GBUILDDIR)/platform/linux.mk
+
+diff --git a/solenv/gbuild/platform/LINUX_S390X_GCC.mk b/solenv/gbuild/platform/LINUX_S390X_GCC.mk
+index b352572..1d6889e 100644
+--- a/solenv/gbuild/platform/LINUX_S390X_GCC.mk
++++ b/solenv/gbuild/platform/LINUX_S390X_GCC.mk
+@@ -27,8 +27,8 @@
+
+ #please make generic modifications to unxgcc.mk or linux.mk
+ gb_COMPILERDEFAULTOPTFLAGS := -O2
+-gb_CXXFLAGS += -fsigned-char -fno-omit-frame-pointer
+-gb_CFLAGS += -fsigned-char -fno-omit-frame-pointer
++gb_CXXFLAGS += -fno-omit-frame-pointer
++gb_CFLAGS += -fno-omit-frame-pointer
+
+ include $(GBUILDDIR)/platform/linux.mk
+
+diff --git a/solenv/gbuild/platform/LINUX_S390_GCC.mk b/solenv/gbuild/platform/LINUX_S390_GCC.mk
+index b352572..1d6889e 100644
+--- a/solenv/gbuild/platform/LINUX_S390_GCC.mk
++++ b/solenv/gbuild/platform/LINUX_S390_GCC.mk
+@@ -27,8 +27,8 @@
+
+ #please make generic modifications to unxgcc.mk or linux.mk
+ gb_COMPILERDEFAULTOPTFLAGS := -O2
+-gb_CXXFLAGS += -fsigned-char -fno-omit-frame-pointer
+-gb_CFLAGS += -fsigned-char -fno-omit-frame-pointer
++gb_CXXFLAGS += -fno-omit-frame-pointer
++gb_CFLAGS += -fno-omit-frame-pointer
+
+ include $(GBUILDDIR)/platform/linux.mk
+
+--
+cgit v0.9.0.2-2-gbebe
--- /dev/null
+diff --git a/configure.in b/configure.in
+index d9d28ff..4fcbe7c 100644
+--- libreoffice-3.5.0/configure.in
++++ libreoffice-3.5.0/configure.in
+@@ -6474,8 +6474,9 @@ if test -n "$with_system_lpsolve" -o -n "$with_system_libs" && \
+ # some systems need this. Like Ubuntu....
+ AC_CHECK_LIB(m, floor)
+ AC_CHECK_LIB(dl, dlopen)
++ AC_CHECK_LIB(colamd, colamd)
+ AC_CHECK_LIB(lpsolve55, make_lp, ,
+- [ AC_MSG_ERROR(lpsolve library not found or too old.)], [])
++ [ AC_MSG_ERROR(lpsolve library not found or too old.)], [-L/usr/lib/lpsolve])
+ MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS lpsolve55.dll"
+ else
+ AC_MSG_RESULT([internal])
+diff --git a/solenv/inc/libs.mk b/solenv/inc/libs.mk
+index 91161f1..eb9885e 100644
+--- libreoffice-3.5.0/solenv/inc/libs.mk
++++ libreoffice-3.5.0/solenv/inc/libs.mk
+@@ -305,7 +305,13 @@ MYTHESLIB=$(MYTHES_LIBS)
+ MYTHESLIB=-lmythes-1.2
+ .ENDIF
+ PYUNOLIB=-lpyuno
++.IF "$(SYSTEM_LPSOLVE)" == "YES"
++# FIXME. Even with -L/usr/lib/lp_solve -llpsolve55 the liblpsolve55.a from
++# /usr/lib gets picked and we get a static link...
++LPSOLVELIB = /usr/lib/lp_solve/liblpsolve55.so -Wl,-rpath=/usr/lib/lp_solve
++.ELSE
+ LPSOLVELIB=-llpsolve55
++.ENDIF
+ SOFFICELIB=-lsofficeapp
+ UNOPKGAPPLIB=-lunopkgapp
+ TESTLIB=-ltest
+diff --git a/sccomp/Library_solver.mk b/sccomp/Library_solver.mk
+index ba9493a..93874b4 100644
+--- libreoffice-3.5.0/sccomp/Library_solver.mk
++++ libreoffice-3.5.0/sccomp/Library_solver.mk
+@@ -49,7 +49,13 @@
+ $(gb_STDLIBS) \
+ ))
+
++ifeq ($(SYSTEM_LPSOLVE),YES)
++$(eval $(call gb_Library_add_ldflags,solver, \
++ /usr/lib/lp_solve/liblpsolve55.so -Wl$(COMMA)-rpath=/usr/lib/lp_solve \
++))
++else
+ $(eval $(call gb_Library_use_external,solver,lpsolve55))
++endif
+
+ $(eval $(call gb_Library_add_exception_objects,solver,\
+ sccomp/source/solver/solver \
--- /dev/null
+--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx-old 2012-04-22 16:06:51.611916299 +0000
++++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx 2012-04-22 16:07:57.005983725 +0000
+@@ -622,7 +622,7 @@
+ {
+ if ( !pSpinVal )
+ {
+- std::fprintf( stderr, "Tried to draw CTRL_SPINBUTTONS, but the SpinButtons data structure didn't exist!\n" );
++ fprintf( stderr, "Tried to draw CTRL_SPINBUTTONS, but the SpinButtons data structure didn't exist!\n" );
+ return;
+ }
+ areaRect = pSpinVal->maUpperRect;
+@@ -1310,10 +1310,10 @@
+ }
+ aInfo.m_eWidth = WIDTH_ULTRA_CONDENSED;
+
+- std::fprintf( stderr, "font name BEFORE system match: \"%s\"\n", aFamily.getStr() );
++ fprintf( stderr, "font name BEFORE system match: \"%s\"\n", aFamily.getStr() );
+ // match font to e.g. resolve "Sans"
+ psp::PrintFontManager::get().matchFont( aInfo, rSettings.GetUILocale() );
+- std::fprintf( stderr, "font match %s, name AFTER: \"%s\"\n",
++ fprintf( stderr, "font match %s, name AFTER: \"%s\"\n",
+ aInfo.m_nID != 0 ? "succeeded" : "failed",
+ rtl::OUStringToOString( aInfo.m_aStyleName, RTL_TEXTENCODING_ISO_8859_1 ).getStr() );
+
+@@ -1422,7 +1422,7 @@
+ gchar* pThemeName = NULL;
+ g_object_get( pSettings, "gtk-theme-name", &pThemeName, (char *)NULL );
+ #if OSL_DEBUG_LEVEL > 1
+- std::fprintf( stderr, "Theme name is \"%s\"\n", pThemeName );
++ fprintf( stderr, "Theme name is \"%s\"\n", pThemeName );
+ #endif
+
+
--- /dev/null
+m 0fdbb5b0eabbaa571f3747fda12a56c938cba474 Mon Sep 17 00:00:00 2001
+From: Stephan Bergmann <sbergman@redhat.com>
+Date: Thu, 29 Mar 2012 15:50:16 +0000
+Subject: Make cpp_uno/gcc3_linux_x86-64 bridge work with GCC 4.7
+
+See comment in callvirtualmethod.cxx for details.
+
+From fa09866ccb5bc197ad3e1ec1a453d6fab20cd7df Mon Sep 17 00:00:00 2001
+From: Stephan Bergmann <sbergman@redhat.com>
+Date: Fri, 30 Mar 2012 11:58:34 +0000
+Subject: Adapt cpp_uno/gcc3_linux_x86-64 to GCC 4.7 cxxabi.h
+
+...the same way cpp_uno/mingw_intel was already adapted.
+
+--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
++++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
+@@ -59,9 +59,9 @@
+ OTHER DEALINGS IN THE SOFTWARE.
+ ----------------------------------------------------------------------- */
+
+-#include <abi.hxx>
++#include "sal/config.h"
+
+-#include <rtl/ustring.hxx>
++#include "abi.hxx"
+
+ using namespace x86_64;
+
+@@ -98,6 +98,7 @@ enum x86_64_reg_class
+
+ static enum x86_64_reg_class
+ merge_classes (enum x86_64_reg_class class1, enum x86_64_reg_class class2)
++ throw ()
+ {
+ /* Rule #1: If both classes are equal, this is the resulting class. */
+ if (class1 == class2)
+@@ -140,7 +141,7 @@ merge_classes (enum x86_64_reg_class class1, enum x86_64_reg_class class2)
+ See the x86-64 PS ABI for details.
+ */
+ static int
+-classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_class classes[], int byteOffset )
++classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_class classes[], int byteOffset ) throw ()
+ {
+ switch ( pTypeRef->eTypeClass )
+ {
+@@ -262,7 +263,7 @@ classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_c
+
+ /* Examine the argument and return set number of register required in each
+ class. Return 0 iff parameter should be passed in memory. */
+-bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInReturn, int &nUsedGPR, int &nUsedSSE )
++bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInReturn, int &nUsedGPR, int &nUsedSSE ) throw ()
+ {
+ enum x86_64_reg_class classes[MAX_CLASSES];
+ int n;
+@@ -303,14 +304,14 @@ bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool
+ return true;
+ }
+
+-bool x86_64::return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef )
++bool x86_64::return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef ) throw ()
+ {
+ int g, s;
+
+ return examine_argument( pTypeRef, true, g, s ) == 0;
+ }
+
+-void x86_64::fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64 *pGPR, const double *pSSE, void *pStruct )
++void x86_64::fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64 *pGPR, const double *pSSE, void *pStruct ) throw ()
+ {
+ enum x86_64_reg_class classes[MAX_CLASSES];
+ int n;
+unchanged:
+--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.hxx
++++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.hxx
+@@ -51,7 +51,7 @@ const sal_uInt32 MAX_SSE_REGS = 8;
+
+ Return false iff parameter should be passed in memory.
+ */
+-bool examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInReturn, int &nUsedGPR, int &nUsedSSE );
++bool examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInReturn, int &nUsedGPR, int &nUsedSSE ) throw ();
+
+ /** Does function that returns this type use a hidden parameter, or registers?
+
+@@ -59,9 +59,9 @@ bool examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool bInRetur
+ pointer to a structure allocated by the caller), or in registers (rax, rdx
+ for the integers, xmm0, xmm1 for the floating point numbers).
+ */
+-bool return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef );
++bool return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef ) throw ();
+
+-void fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64* pGPR, const double* pSSE, void *pStruct );
++void fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64* pGPR, const double* pSSE, void *pStruct ) throw ();
+
+ } // namespace x86_64
+
+unchanged:
+--- /dev/null
++++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.cxx
+@@ -0,0 +1,170 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2000, 2010 Oracle and/or its affiliates.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#include "sal/config.h"
++
++#include <cstring>
++
++#include "sal/types.h"
++#include "typelib/typeclass.h"
++#include "typelib/typedescription.h"
++
++#include "abi.hxx"
++#include "callvirtualmethod.hxx"
++
++// The call instruction within the asm block of callVirtualMethod may throw
++// exceptions. At least GCC 4.7.0 with -O0 would create (unnecessary)
++// .gcc_exception_table call-site table entries around all other calls in this
++// function that can throw, leading to std::terminate if the asm call throws an
++// exception and the unwinding C++ personality routine finds the unexpected hole
++// in the .gcc_exception_table. Therefore, make sure this function explicitly
++// only calls nothrow-functions (so GCC 4.7.0 with -O0 happens to not create a
++// .gcc_exception_table section at all for this function). For some reason,
++// this also needs to be in a source file of its own.
++//
++// Also, this file should be compiled with -fnon-call-exceptions, and ideally
++// there would be a way to tell the compiler that the asm block contains calls
++// to functions that can potentially throw; see the mail thread starting at
++// <http://gcc.gnu.org/ml/gcc/2012-03/msg00454.html> "C++: Letting compiler know
++// asm block can call function that can throw?"
++
++void CPPU_CURRENT_NAMESPACE::callVirtualMethod(
++ void * pThis, sal_uInt32 nVtableIndex, void * pRegisterReturn,
++ typelib_TypeDescriptionReference * pReturnTypeRef, bool bSimpleReturn,
++ sal_uInt64 *pStack, sal_uInt32 nStack, sal_uInt64 *pGPR, sal_uInt32 nGPR,
++ double * pFPR, sal_uInt32 nFPR)
++{
++ // Should not happen, but...
++ if ( nFPR > x86_64::MAX_SSE_REGS )
++ nFPR = x86_64::MAX_SSE_REGS;
++ if ( nGPR > x86_64::MAX_GPR_REGS )
++ nGPR = x86_64::MAX_GPR_REGS;
++
++ // Get pointer to method
++ sal_uInt64 pMethod = *((sal_uInt64 *)pThis);
++ pMethod += 8 * nVtableIndex;
++ pMethod = *((sal_uInt64 *)pMethod);
++
++ // Load parameters to stack, if necessary
++ if ( nStack )
++ {
++ // 16-bytes aligned
++ sal_uInt32 nStackBytes = ( ( nStack + 1 ) >> 1 ) * 16;
++ sal_uInt64 *pCallStack = (sal_uInt64 *) __builtin_alloca( nStackBytes );
++ std::memcpy( pCallStack, pStack, nStackBytes );
++ }
++
++ // Return values
++ sal_uInt64 rax;
++ sal_uInt64 rdx;
++ double xmm0;
++ double xmm1;
++
++ asm volatile (
++
++ // Fill the xmm registers
++ "movq %6, %%rax\n\t"
++
++ "movsd (%%rax), %%xmm0\n\t"
++ "movsd 8(%%rax), %%xmm1\n\t"
++ "movsd 16(%%rax), %%xmm2\n\t"
++ "movsd 24(%%rax), %%xmm3\n\t"
++ "movsd 32(%%rax), %%xmm4\n\t"
++ "movsd 40(%%rax), %%xmm5\n\t"
++ "movsd 48(%%rax), %%xmm6\n\t"
++ "movsd 56(%%rax), %%xmm7\n\t"
++
++ // Fill the general purpose registers
++ "movq %5, %%rax\n\t"
++
++ "movq (%%rax), %%rdi\n\t"
++ "movq 8(%%rax), %%rsi\n\t"
++ "movq 16(%%rax), %%rdx\n\t"
++ "movq 24(%%rax), %%rcx\n\t"
++ "movq 32(%%rax), %%r8\n\t"
++ "movq 40(%%rax), %%r9\n\t"
++
++ // Perform the call
++ "movq %4, %%r11\n\t"
++ "movq %7, %%rax\n\t"
++ "call *%%r11\n\t"
++
++ // Fill the return values
++ "movq %%rax, %0\n\t"
++ "movq %%rdx, %1\n\t"
++ "movsd %%xmm0, %2\n\t"
++ "movsd %%xmm1, %3\n\t"
++ : "=m" ( rax ), "=m" ( rdx ), "=m" ( xmm0 ), "=m" ( xmm1 )
++ : "m" ( pMethod ), "m" ( pGPR ), "m" ( pFPR ), "m" ( nFPR )
++ : "rax", "rdi", "rsi", "rdx", "rcx", "r8", "r9", "r11"
++ );
++
++ switch (pReturnTypeRef->eTypeClass)
++ {
++ case typelib_TypeClass_HYPER:
++ case typelib_TypeClass_UNSIGNED_HYPER:
++ *reinterpret_cast<sal_uInt64 *>( pRegisterReturn ) = rax;
++ break;
++ case typelib_TypeClass_LONG:
++ case typelib_TypeClass_UNSIGNED_LONG:
++ case typelib_TypeClass_ENUM:
++ *reinterpret_cast<sal_uInt32 *>( pRegisterReturn ) = *reinterpret_cast<sal_uInt32*>( &rax );
++ break;
++ case typelib_TypeClass_CHAR:
++ case typelib_TypeClass_SHORT:
++ case typelib_TypeClass_UNSIGNED_SHORT:
++ *reinterpret_cast<sal_uInt16 *>( pRegisterReturn ) = *reinterpret_cast<sal_uInt16*>( &rax );
++ break;
++ case typelib_TypeClass_BOOLEAN:
++ case typelib_TypeClass_BYTE:
++ *reinterpret_cast<sal_uInt8 *>( pRegisterReturn ) = *reinterpret_cast<sal_uInt8*>( &rax );
++ break;
++ case typelib_TypeClass_FLOAT:
++ case typelib_TypeClass_DOUBLE:
++ *reinterpret_cast<double *>( pRegisterReturn ) = xmm0;
++ break;
++ default:
++ {
++ sal_Int32 const nRetSize = pReturnTypeRef->pType->nSize;
++ if (bSimpleReturn && nRetSize <= 16 && nRetSize > 0)
++ {
++ sal_uInt64 longs[2];
++ longs[0] = rax;
++ longs[1] = rdx;
++
++ double doubles[2];
++ doubles[0] = xmm0;
++ doubles[1] = xmm1;
++ x86_64::fill_struct( pReturnTypeRef, &longs[0], &doubles[0], pRegisterReturn);
++ }
++ break;
++ }
++ }
++}
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+unchanged:
+--- /dev/null
++++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.hxx
+@@ -0,0 +1,49 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2000, 2010 Oracle and/or its affiliates.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef INCLUDED_BRIDGES_SOURCE_CPP_UNO_GCC3_LINUX_X86_64_CALLVIRTUALMETHOD_HXX
++#define INCLUDED_BRIDGES_SOURCE_CPP_UNO_GCC3_LINUX_X86_64_CALLVIRTUALMETHOD_HXX
++
++#include "sal/config.h"
++
++#include "sal/types.h"
++#include "typelib/typedescription.h"
++
++namespace CPPU_CURRENT_NAMESPACE {
++
++void callVirtualMethod(
++ void * pThis, sal_uInt32 nVtableIndex, void * pRegisterReturn,
++ typelib_TypeDescriptionReference * pReturnTypeRef, bool bSimpleReturn,
++ sal_uInt64 *pStack, sal_uInt32 nStack, sal_uInt64 *pGPR, sal_uInt32 nGPR,
++ double * pFPR, sal_uInt32 nFPR);
++
++}
++
++#endif
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff -u b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
+--- b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
++++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
+@@ -30,7 +30,12 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <dlfcn.h>
++
+ #include <cxxabi.h>
++#ifndef _GLIBCXX_CDTOR_CALLABI // new in GCC 4.7 cxxabi.h
++#define _GLIBCXX_CDTOR_CALLABI
++#endif
++
+ #include <boost/unordered_map.hpp>
+
+ #include <rtl/instance.hxx>
+@@ -57,10 +62,6 @@
+ namespace CPPU_CURRENT_NAMESPACE
+ {
+
+-void dummy_can_throw_anything( char const * )
+-{
+-}
+-
+ //==================================================================================================
+ static OUString toUNOname( char const * p ) SAL_THROW( () )
+ {
+@@ -217,7 +218,8 @@
+ struct RTTISingleton: public rtl::Static< RTTI, RTTISingleton > {};
+
+ //--------------------------------------------------------------------------------------------------
+-static void deleteException( void * pExc )
++extern "C" {
++static void _GLIBCXX_CDTOR_CALLABI deleteException( void * pExc )
+ {
+ __cxa_exception const * header = ((__cxa_exception const *)pExc - 1);
+ typelib_TypeDescription * pTD = 0;
+@@ -230,6 +232,7 @@
+ ::typelib_typedescription_release( pTD );
+ }
+ }
++}
+
+ //==================================================================================================
+ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
+unchanged:
+--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/makefile.mk
++++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/makefile.mk
+@@ -57,6 +57,7 @@ CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing
+ SLOFILES= \
+ $(SLO)$/abi.obj \
+ $(SLO)$/except.obj \
++ $(SLO)$/callvirtualmethod.obj \
+ $(SLO)$/cpp2uno.obj \
+ $(SLO)$/uno2cpp.obj \
+ $(SLO)$/call.obj
+diff -u b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
+--- b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
++++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
+@@ -35,8 +35,6 @@
+ namespace CPPU_CURRENT_NAMESPACE
+ {
+
+-void dummy_can_throw_anything( char const * );
+-
+ // ----- following decl from libstdc++-v3/libsupc++/unwind-cxx.h and unwind.h
+
+ struct _Unwind_Exception
+@@ -68,17 +66,26 @@
+ _Unwind_Exception unwindHeader;
+ };
+
+-extern "C" void *__cxa_allocate_exception(
+- std::size_t thrown_size ) throw();
+-extern "C" void __cxa_throw (
+- void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
+-
+ struct __cxa_eh_globals
+ {
+ __cxa_exception *caughtExceptions;
+ unsigned int uncaughtExceptions;
+ };
+-extern "C" __cxa_eh_globals *__cxa_get_globals () throw();
++
++}
++
++extern "C" CPPU_CURRENT_NAMESPACE::__cxa_eh_globals *__cxa_get_globals () throw();
++
++// The following are in cxxabi.h since GCC 4.7:
++#if __GNUC__ == 4 && __GNUC_MINOR__ <= 6
++extern "C" void *__cxa_allocate_exception(
++ std::size_t thrown_size ) throw();
++extern "C" void __cxa_throw (
++ void *thrown_exception, void *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
++#endif
++
++namespace CPPU_CURRENT_NAMESPACE
++{
+
+ // -----
+
+diff -u b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
+--- b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
++++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
+@@ -26,12 +26,9 @@
+ *
+ ************************************************************************/
+
+-
++#include <alloca.h>
+ #include <exception>
+ #include <typeinfo>
+-#include <stdio.h>
+-#include <stdlib.h>
+-#include <string.h>
+
+ #include "rtl/alloc.h"
+ #include "rtl/ustrbuf.hxx"
+@@ -46,159 +43,12 @@
+ #include "bridges/cpp_uno/shared/vtables.hxx"
+
+ #include "abi.hxx"
++#include "callvirtualmethod.hxx"
+ #include "share.hxx"
+
+ using namespace ::rtl;
+ using namespace ::com::sun::star::uno;
+
+-//==================================================================================================
+-static void callVirtualMethod(void * pThis, sal_uInt32 nVtableIndex,
+- void * pRegisterReturn, typelib_TypeDescriptionReference * pReturnTypeRef, bool bSimpleReturn,
+- sal_uInt64 *pStack, sal_uInt32 nStack,
+- sal_uInt64 *pGPR, sal_uInt32 nGPR,
+- double *pFPR, sal_uInt32 nFPR) __attribute__((noinline));
+-
+-static void callVirtualMethod(void * pThis, sal_uInt32 nVtableIndex,
+- void * pRegisterReturn, typelib_TypeDescriptionReference * pReturnTypeRef, bool bSimpleReturn,
+- sal_uInt64 *pStack, sal_uInt32 nStack,
+- sal_uInt64 *pGPR, sal_uInt32 nGPR,
+- double *pFPR, sal_uInt32 nFPR)
+-{
+-#if OSL_DEBUG_LEVEL > 1
+- // Let's figure out what is really going on here
+- {
+- fprintf( stderr, "= callVirtualMethod() =\nGPR's (%d): ", nGPR );
+- for ( unsigned int i = 0; i < nGPR; ++i )
+- fprintf( stderr, "0x%lx, ", pGPR[i] );
+- fprintf( stderr, "\nFPR's (%d): ", nFPR );
+- for ( unsigned int i = 0; i < nFPR; ++i )
+- fprintf( stderr, "%f, ", pFPR[i] );
+- fprintf( stderr, "\nStack (%d): ", nStack );
+- for ( unsigned int i = 0; i < nStack; ++i )
+- fprintf( stderr, "0x%lx, ", pStack[i] );
+- fprintf( stderr, "\n" );
+- }
+-#endif
+-
+- // The call instruction within the asm section of callVirtualMethod may throw
+- // exceptions. So that the compiler handles this correctly, it is important
+- // that (a) callVirtualMethod might call dummy_can_throw_anything (although this
+- // never happens at runtime), which in turn can throw exceptions, and (b)
+- // callVirtualMethod is not inlined at its call site (so that any exceptions are
+- // caught which are thrown from the instruction calling callVirtualMethod):
+- if ( !pThis )
+- CPPU_CURRENT_NAMESPACE::dummy_can_throw_anything( "xxx" ); // address something
+-
+- // Should not happen, but...
+- if ( nFPR > x86_64::MAX_SSE_REGS )
+- nFPR = x86_64::MAX_SSE_REGS;
+- if ( nGPR > x86_64::MAX_GPR_REGS )
+- nGPR = x86_64::MAX_GPR_REGS;
+-
+- // Get pointer to method
+- sal_uInt64 pMethod = *((sal_uInt64 *)pThis);
+- pMethod += 8 * nVtableIndex;
+- pMethod = *((sal_uInt64 *)pMethod);
+-
+- // Load parameters to stack, if necessary
+- if ( nStack )
+- {
+- // 16-bytes aligned
+- sal_uInt32 nStackBytes = ( ( nStack + 1 ) >> 1 ) * 16;
+- sal_uInt64 *pCallStack = (sal_uInt64 *) __builtin_alloca( nStackBytes );
+- memcpy( pCallStack, pStack, nStackBytes );
+- }
+-
+- // Return values
+- sal_uInt64 rax;
+- sal_uInt64 rdx;
+- double xmm0;
+- double xmm1;
+-
+- asm volatile (
+-
+- // Fill the xmm registers
+- "movq %6, %%rax\n\t"
+-
+- "movsd (%%rax), %%xmm0\n\t"
+- "movsd 8(%%rax), %%xmm1\n\t"
+- "movsd 16(%%rax), %%xmm2\n\t"
+- "movsd 24(%%rax), %%xmm3\n\t"
+- "movsd 32(%%rax), %%xmm4\n\t"
+- "movsd 40(%%rax), %%xmm5\n\t"
+- "movsd 48(%%rax), %%xmm6\n\t"
+- "movsd 56(%%rax), %%xmm7\n\t"
+-
+- // Fill the general purpose registers
+- "movq %5, %%rax\n\t"
+-
+- "movq (%%rax), %%rdi\n\t"
+- "movq 8(%%rax), %%rsi\n\t"
+- "movq 16(%%rax), %%rdx\n\t"
+- "movq 24(%%rax), %%rcx\n\t"
+- "movq 32(%%rax), %%r8\n\t"
+- "movq 40(%%rax), %%r9\n\t"
+-
+- // Perform the call
+- "movq %4, %%r11\n\t"
+- "movq %7, %%rax\n\t"
+- "call *%%r11\n\t"
+-
+- // Fill the return values
+- "movq %%rax, %0\n\t"
+- "movq %%rdx, %1\n\t"
+- "movsd %%xmm0, %2\n\t"
+- "movsd %%xmm1, %3\n\t"
+- : "=m" ( rax ), "=m" ( rdx ), "=m" ( xmm0 ), "=m" ( xmm1 )
+- : "m" ( pMethod ), "m" ( pGPR ), "m" ( pFPR ), "m" ( nFPR )
+- : "rax", "rdi", "rsi", "rdx", "rcx", "r8", "r9", "r11"
+- );
+-
+- switch (pReturnTypeRef->eTypeClass)
+- {
+- case typelib_TypeClass_HYPER:
+- case typelib_TypeClass_UNSIGNED_HYPER:
+- *reinterpret_cast<sal_uInt64 *>( pRegisterReturn ) = rax;
+- break;
+- case typelib_TypeClass_LONG:
+- case typelib_TypeClass_UNSIGNED_LONG:
+- case typelib_TypeClass_ENUM:
+- *reinterpret_cast<sal_uInt32 *>( pRegisterReturn ) = *reinterpret_cast<sal_uInt32*>( &rax );
+- break;
+- case typelib_TypeClass_CHAR:
+- case typelib_TypeClass_SHORT:
+- case typelib_TypeClass_UNSIGNED_SHORT:
+- *reinterpret_cast<sal_uInt16 *>( pRegisterReturn ) = *reinterpret_cast<sal_uInt16*>( &rax );
+- break;
+- case typelib_TypeClass_BOOLEAN:
+- case typelib_TypeClass_BYTE:
+- *reinterpret_cast<sal_uInt8 *>( pRegisterReturn ) = *reinterpret_cast<sal_uInt8*>( &rax );
+- break;
+- case typelib_TypeClass_FLOAT:
+- case typelib_TypeClass_DOUBLE:
+- *reinterpret_cast<double *>( pRegisterReturn ) = xmm0;
+- break;
+- default:
+- {
+- sal_Int32 const nRetSize = pReturnTypeRef->pType->nSize;
+- if (bSimpleReturn && nRetSize <= 16 && nRetSize > 0)
+- {
+- sal_uInt64 longs[2];
+- longs[0] = rax;
+- longs[1] = rdx;
+-
+- double doubles[2];
+- doubles[0] = xmm0;
+- doubles[1] = xmm1;
+- x86_64::fill_struct( pReturnTypeRef, &longs[0], &doubles[0], pRegisterReturn);
+- }
+- break;
+- }
+- }
+-}
+-
+-//==================================================================================================
+-
+ // Macros for easier insertion of values to registers or stack
+ // pSV - pointer to the source
+ // nr - order of the value [will be increased if stored to register]
+@@ -384,7 +234,7 @@
+ try
+ {
+ try {
+- callVirtualMethod(
++ CPPU_CURRENT_NAMESPACE::callVirtualMethod(
+ pAdjustedThisPtr, aVtableSlot.index,
+ pCppReturn, pReturnTypeRef, bSimpleReturn,
+ pStackStart, ( pStack - pStackStart ),
+@@ -450,7 +300,7 @@
+ catch (...)
+ {
+ // fill uno exception
+- fillUnoException( CPPU_CURRENT_NAMESPACE::__cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
++ fillUnoException( __cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
+
+ // temporary params
+ for ( ; nTempIndizes--; )
--- /dev/null
+From b0515ea5fa6c29faebed616ae3e0213c72d24904 Mon Sep 17 00:00:00 2001
+From: Stephan Bergmann <sbergman@redhat.com>
+Date: Wed, 04 Apr 2012 11:02:44 +0000
+Subject: Adapt cpp_uno/gcc3_linux_intel to GCC 4.7
+
+...the same way cpp_uno/gcc3_linux_x86-64 was already adapted.
+---
+diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx
+new file mode 100644
+index 0000000..4c6370f
+--- /dev/null
++++ b/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.cxx
+@@ -0,0 +1,154 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2000, 2010 Oracle and/or its affiliates.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#include "sal/config.h"
++
++#include <cassert>
++
++#include "cppu/macros.hxx"
++#include "sal/types.h"
++#include "typelib/typeclass.h"
++#include "typelib/typedescription.h"
++
++#include "callvirtualmethod.hxx"
++
++// The call instruction within the asm block of callVirtualMethod may throw
++// exceptions. At least GCC 4.7.0 with -O0 would create (unnecessary)
++// .gcc_exception_table call-site table entries around all other calls in this
++// function that can throw, leading to std::terminate if the asm call throws an
++// exception and the unwinding C++ personality routine finds the unexpected hole
++// in the .gcc_exception_table. Therefore, make sure this function explicitly
++// only calls nothrow-functions (so GCC 4.7.0 with -O0 happens to not create a
++// .gcc_exception_table section at all for this function). For some reason,
++// this also needs to be in a source file of its own.
++//
++// Also, this file should be compiled with -fnon-call-exceptions, and ideally
++// there would be a way to tell the compiler that the asm block contains calls
++// to functions that can potentially throw; see the mail thread starting at
++// <http://gcc.gnu.org/ml/gcc/2012-03/msg00454.html> "C++: Letting compiler know
++// asm block can call function that can throw?"
++
++void CPPU_CURRENT_NAMESPACE::callVirtualMethod(
++ void * pAdjustedThisPtr, sal_Int32 nVtableIndex, void * pRegisterReturn,
++ typelib_TypeDescription * pReturnTypeDescr, bool bSimpleReturn,
++ sal_Int32 * pStackLongs, sal_Int32 nStackLongs)
++{
++ // parameter list is mixed list of * and values
++ // reference parameters are pointers
++
++ assert(pStackLongs && pAdjustedThisPtr);
++ assert(sizeof (void *) == 4 && sizeof (sal_Int32) == 4);
++ // unexpected size of int
++ assert(nStackLongs && pStackLongs); // no stack
++
++ volatile long edx = 0, eax = 0; // for register returns
++ void * stackptr;
++ asm volatile (
++ "mov %%esp, %6\n\t"
++ // preserve potential 128bit stack alignment
++ "and $0xfffffff0, %%esp\n\t"
++ "mov %0, %%eax\n\t"
++ "lea -4(,%%eax,4), %%eax\n\t"
++ "and $0xf, %%eax\n\t"
++ "sub $0xc, %%eax\n\t"
++ "add %%eax, %%esp\n\t"
++ // copy values
++ "mov %0, %%eax\n\t"
++ "mov %%eax, %%edx\n\t"
++ "dec %%edx\n\t"
++ "shl $2, %%edx\n\t"
++ "add %1, %%edx\n"
++ "Lcopy:\n\t"
++ "pushl 0(%%edx)\n\t"
++ "sub $4, %%edx\n\t"
++ "dec %%eax\n\t"
++ "jne Lcopy\n\t"
++ // do the actual call
++ "mov %2, %%edx\n\t"
++ "mov 0(%%edx), %%edx\n\t"
++ "mov %3, %%eax\n\t"
++ "shl $2, %%eax\n\t"
++ "add %%eax, %%edx\n\t"
++ "mov 0(%%edx), %%edx\n\t"
++ "call *%%edx\n\t"
++ // save return registers
++ "mov %%eax, %4\n\t"
++ "mov %%edx, %5\n\t"
++ // cleanup stack
++ "mov %6, %%esp\n\t"
++ :
++ : "m"(nStackLongs), "m"(pStackLongs), "m"(pAdjustedThisPtr),
++ "m"(nVtableIndex), "m"(eax), "m"(edx), "m"(stackptr)
++ : "eax", "ecx", "edx" );
++ switch( pReturnTypeDescr->eTypeClass )
++ {
++ case typelib_TypeClass_VOID:
++ break;
++ case typelib_TypeClass_HYPER:
++ case typelib_TypeClass_UNSIGNED_HYPER:
++ ((long*)pRegisterReturn)[1] = edx;
++ case typelib_TypeClass_LONG:
++ case typelib_TypeClass_UNSIGNED_LONG:
++ case typelib_TypeClass_CHAR:
++ case typelib_TypeClass_ENUM:
++ ((long*)pRegisterReturn)[0] = eax;
++ break;
++ case typelib_TypeClass_SHORT:
++ case typelib_TypeClass_UNSIGNED_SHORT:
++ *(unsigned short*)pRegisterReturn = eax;
++ break;
++ case typelib_TypeClass_BOOLEAN:
++ case typelib_TypeClass_BYTE:
++ *(unsigned char*)pRegisterReturn = eax;
++ break;
++ case typelib_TypeClass_FLOAT:
++ asm ( "fstps %0" : : "m"(*(char *)pRegisterReturn) );
++ break;
++ case typelib_TypeClass_DOUBLE:
++ asm ( "fstpl %0\n\t" : : "m"(*(char *)pRegisterReturn) );
++ break;
++ default:
++ {
++#if defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(MACOSX) || \
++ defined(DRAGONFLY)
++ sal_Int32 const nRetSize = pReturnTypeDescr->nSize;
++ if (bSimpleReturn && nRetSize <= 8 && nRetSize > 0)
++ {
++ if (nRetSize > 4)
++ static_cast<long *>(pRegisterReturn)[1] = edx;
++ static_cast<long *>(pRegisterReturn)[0] = eax;
++ }
++#else
++ (void)bSimpleReturn;
++#endif
++ break;
++ }
++ }
++}
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.hxx b/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.hxx
+new file mode 100644
+index 0000000..de498a3
+--- /dev/null
++++ b/bridges/source/cpp_uno/gcc3_linux_intel/callvirtualmethod.hxx
+@@ -0,0 +1,49 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2000, 2010 Oracle and/or its affiliates.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef INCLUDED_BRIDGES_SOURCE_CPP_UNO_GCC3_LINUX_X86_64_CALLVIRTUALMETHOD_HXX
++#define INCLUDED_BRIDGES_SOURCE_CPP_UNO_GCC3_LINUX_X86_64_CALLVIRTUALMETHOD_HXX
++
++#include "sal/config.h"
++
++#include "cppu/macros.hxx"
++#include "sal/types.h"
++#include "typelib/typedescription.h"
++
++namespace CPPU_CURRENT_NAMESPACE {
++
++void callVirtualMethod(
++ void * pAdjustedThisPtr, sal_Int32 nVtableIndex, void * pRegisterReturn,
++ typelib_TypeDescription * pReturnTypeDescr, bool bSimpleReturn,
++ sal_Int32 * pStackLongs, sal_Int32 nStackLongs);
++
++}
++
++#endif
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
+index c21df26..6515b8f 100644
+--- a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
++++ b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
+@@ -33,6 +33,9 @@
+ #include <boost/unordered_map.hpp>
+
+ #include <cxxabi.h>
++#ifndef _GLIBCXX_CDTOR_CALLABI // new in GCC 4.7 cxxabi.h
++#define _GLIBCXX_CDTOR_CALLABI
++#endif
+
+ #include <rtl/instance.hxx>
+ #include <rtl/strbuf.hxx>
+@@ -57,10 +60,6 @@ using namespace ::__cxxabiv1;
+ namespace CPPU_CURRENT_NAMESPACE
+ {
+
+-void dummy_can_throw_anything( char const * )
+-{
+-}
+-
+ //==================================================================================================
+ static OUString toUNOname( char const * p ) SAL_THROW( () )
+ {
+@@ -217,7 +216,8 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THR
+ struct RTTISingleton: public rtl::Static< RTTI, RTTISingleton > {};
+
+ //--------------------------------------------------------------------------------------------------
+-static void deleteException( void * pExc )
++extern "C" {
++static void _GLIBCXX_CDTOR_CALLABI deleteException( void * pExc )
+ {
+ __cxa_exception const * header = ((__cxa_exception const *)pExc - 1);
+ typelib_TypeDescription * pTD = 0;
+@@ -230,6 +230,7 @@ static void deleteException( void * pExc )
+ ::typelib_typedescription_release( pTD );
+ }
+ }
++}
+
+ //==================================================================================================
+ void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
+diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_intel/makefile.mk
+index 10d24a3..c814132 100644
+--- a/bridges/source/cpp_uno/gcc3_linux_intel/makefile.mk
++++ b/bridges/source/cpp_uno/gcc3_linux_intel/makefile.mk
+@@ -58,6 +58,7 @@ CFLAGSNOOPT=-O0
+
+ SLOFILES= \
+ $(SLO)$/except.obj \
++ $(SLO)$/callvirtualmethod.obj \
+ $(SLO)$/cpp2uno.obj \
+ $(SLO)$/uno2cpp.obj \
+ $(SLO)$/call.obj
+diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx b/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx
+index 8a3e136..2eff557 100644
+--- a/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx
++++ b/bridges/source/cpp_uno/gcc3_linux_intel/share.hxx
+@@ -35,8 +35,6 @@
+ namespace CPPU_CURRENT_NAMESPACE
+ {
+
+-void dummy_can_throw_anything( char const * );
+-
+ // ----- following decl from libstdc++-v3/libsupc++/unwind-cxx.h and unwind.h
+
+ struct _Unwind_Exception
+@@ -68,17 +66,30 @@ struct __cxa_exception
+ _Unwind_Exception unwindHeader;
+ };
+
+-extern "C" void *__cxa_allocate_exception(
+- std::size_t thrown_size ) throw();
+-extern "C" void __cxa_throw (
+- void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
+-
+ struct __cxa_eh_globals
+ {
+ __cxa_exception *caughtExceptions;
+ unsigned int uncaughtExceptions;
+ };
+-extern "C" __cxa_eh_globals *__cxa_get_globals () throw();
++
++}
++
++extern "C" CPPU_CURRENT_NAMESPACE::__cxa_eh_globals *__cxa_get_globals () throw();
++
++namespace CPPU_CURRENT_NAMESPACE
++{
++
++// The following are in cxxabi.h since GCC 4.7 (they are wrapped in
++// CPPU_CURRENT_NAMESPACE here as different GCC versions have slightly different
++// declarations for them, e.g., with or without throw() specification, so would
++// complain about redeclarations of these somewhat implicitly declared
++// functions):
++#if __GNUC__ == 4 && __GNUC_MINOR__ <= 6
++extern "C" void *__cxa_allocate_exception(
++ std::size_t thrown_size ) throw();
++extern "C" void __cxa_throw (
++ void *thrown_exception, void *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
++#endif
+
+ // -----
+
+diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
+index 49bac65..64d401b 100644
+--- a/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
++++ b/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx
+@@ -30,7 +30,7 @@
+ #if defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY)
+ #include <stdlib.h>
+ #else
+-#include <malloc.h>
++#include <alloca.h>
+ #endif
+
+ #include <com/sun/star/uno/genfunc.hxx>
+@@ -42,6 +42,7 @@
+ #include "bridges/cpp_uno/shared/unointerfaceproxy.hxx"
+ #include "bridges/cpp_uno/shared/vtables.hxx"
+
++#include "callvirtualmethod.hxx"
+ #include "share.hxx"
+
+ using namespace ::rtl;
+@@ -50,125 +51,6 @@ using namespace ::com::sun::star::uno;
+ namespace
+ {
+
+-//==================================================================================================
+-// The call instruction within the asm section of callVirtualMethod may throw
+-// exceptions. So that the compiler handles this correctly, it is important
+-// that (a) callVirtualMethod might call dummy_can_throw_anything (although this
+-// never happens at runtime), which in turn can throw exceptions, and (b)
+-// callVirtualMethod is not inlined at its call site (so that any exceptions are
+-// caught which are thrown from the instruction calling callVirtualMethod):
+-void callVirtualMethod(
+- void * pAdjustedThisPtr,
+- sal_Int32 nVtableIndex,
+- void * pRegisterReturn,
+- typelib_TypeDescription * pReturnTypeDescr, bool bSimpleReturn,
+- sal_Int32 * pStackLongs,
+- sal_Int32 nStackLongs ) __attribute__((noinline));
+-
+-void callVirtualMethod(
+- void * pAdjustedThisPtr,
+- sal_Int32 nVtableIndex,
+- void * pRegisterReturn,
+- typelib_TypeDescription * pReturnTypeDescr, bool bSimpleReturn,
+- sal_Int32 * pStackLongs,
+- sal_Int32 nStackLongs )
+-{
+- // parameter list is mixed list of * and values
+- // reference parameters are pointers
+-
+- OSL_ENSURE( pStackLongs && pAdjustedThisPtr, "### null ptr!" );
+- OSL_ENSURE( (sizeof(void *) == 4) && (sizeof(sal_Int32) == 4), "### unexpected size of int!" );
+- OSL_ENSURE( nStackLongs && pStackLongs, "### no stack in callVirtualMethod !" );
+-
+- // never called
+- if (! pAdjustedThisPtr) CPPU_CURRENT_NAMESPACE::dummy_can_throw_anything("xxx"); // address something
+-
+- volatile long edx = 0, eax = 0; // for register returns
+- void * stackptr;
+- asm volatile (
+- "mov %%esp, %6\n\t"
+- // preserve potential 128bit stack alignment
+- "and $0xfffffff0, %%esp\n\t"
+- "mov %0, %%eax\n\t"
+- "lea -4(,%%eax,4), %%eax\n\t"
+- "and $0xf, %%eax\n\t"
+- "sub $0xc, %%eax\n\t"
+- "add %%eax, %%esp\n\t"
+- // copy values
+- "mov %0, %%eax\n\t"
+- "mov %%eax, %%edx\n\t"
+- "dec %%edx\n\t"
+- "shl $2, %%edx\n\t"
+- "add %1, %%edx\n"
+- "Lcopy:\n\t"
+- "pushl 0(%%edx)\n\t"
+- "sub $4, %%edx\n\t"
+- "dec %%eax\n\t"
+- "jne Lcopy\n\t"
+- // do the actual call
+- "mov %2, %%edx\n\t"
+- "mov 0(%%edx), %%edx\n\t"
+- "mov %3, %%eax\n\t"
+- "shl $2, %%eax\n\t"
+- "add %%eax, %%edx\n\t"
+- "mov 0(%%edx), %%edx\n\t"
+- "call *%%edx\n\t"
+- // save return registers
+- "mov %%eax, %4\n\t"
+- "mov %%edx, %5\n\t"
+- // cleanup stack
+- "mov %6, %%esp\n\t"
+- :
+- : "m"(nStackLongs), "m"(pStackLongs), "m"(pAdjustedThisPtr),
+- "m"(nVtableIndex), "m"(eax), "m"(edx), "m"(stackptr)
+- : "eax", "ecx", "edx" );
+- switch( pReturnTypeDescr->eTypeClass )
+- {
+- case typelib_TypeClass_VOID:
+- break;
+- case typelib_TypeClass_HYPER:
+- case typelib_TypeClass_UNSIGNED_HYPER:
+- ((long*)pRegisterReturn)[1] = edx;
+- case typelib_TypeClass_LONG:
+- case typelib_TypeClass_UNSIGNED_LONG:
+- case typelib_TypeClass_CHAR:
+- case typelib_TypeClass_ENUM:
+- ((long*)pRegisterReturn)[0] = eax;
+- break;
+- case typelib_TypeClass_SHORT:
+- case typelib_TypeClass_UNSIGNED_SHORT:
+- *(unsigned short*)pRegisterReturn = eax;
+- break;
+- case typelib_TypeClass_BOOLEAN:
+- case typelib_TypeClass_BYTE:
+- *(unsigned char*)pRegisterReturn = eax;
+- break;
+- case typelib_TypeClass_FLOAT:
+- asm ( "fstps %0" : : "m"(*(char *)pRegisterReturn) );
+- break;
+- case typelib_TypeClass_DOUBLE:
+- asm ( "fstpl %0\n\t" : : "m"(*(char *)pRegisterReturn) );
+- break;
+- default:
+- {
+-#if defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(MACOSX) || \
+- defined(DRAGONFLY)
+- sal_Int32 const nRetSize = pReturnTypeDescr->nSize;
+- if (bSimpleReturn && nRetSize <= 8 && nRetSize > 0)
+- {
+- if (nRetSize > 4)
+- static_cast<long *>(pRegisterReturn)[1] = edx;
+- static_cast<long *>(pRegisterReturn)[0] = eax;
+- }
+-#else
+- (void)bSimpleReturn;
+-#endif
+- break;
+- }
+- }
+-}
+-
+-//==================================================================================================
+ static void cpp_call(
+ bridges::cpp_uno::shared::UnoInterfaceProxy * pThis,
+ bridges::cpp_uno::shared::VtableSlot aVtableSlot,
+@@ -287,7 +169,7 @@ static void cpp_call(
+ try
+ {
+ OSL_ENSURE( !( (pCppStack - pCppStackStart ) & 3), "UNALIGNED STACK !!! (Please DO panic)" );
+- callVirtualMethod(
++ CPPU_CURRENT_NAMESPACE::callVirtualMethod(
+ pAdjustedThisPtr, aVtableSlot.index,
+ pCppReturn, pReturnTypeDescr, bSimpleReturn,
+ (sal_Int32 *)pCppStackStart, (pCppStack - pCppStackStart) / sizeof(sal_Int32) );
+@@ -330,7 +212,7 @@ static void cpp_call(
+ catch (...)
+ {
+ // fill uno exception
+- fillUnoException( CPPU_CURRENT_NAMESPACE::__cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
++ fillUnoException( __cxa_get_globals()->caughtExceptions, *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
+
+ // temporary params
+ for ( ; nTempIndizes--; )
+--
+cgit v0.9.0.2-2-gbebe
--- /dev/null
+From 31d26fb9b85cd54267e1a5c0d5a3595e8bb4884c Mon Sep 17 00:00:00 2001
+From: Stephan Bergmann <sbergman@redhat.com>
+Date: Thu, 29 Mar 2012 12:03:08 +0000
+Subject: GCC 4.7 -Werror=enum-compare
+
+---
+diff --git a/vigra/makefile.mk b/vigra/makefile.mk
+index c8e4f77..6cee4b0 100644
+--- a/vigra/makefile.mk
++++ b/vigra/makefile.mk
+@@ -55,6 +55,13 @@ PATCH_FILES=$(TARFILE_NAME).patch
+ TARFILE_MD5=ea91f2fb4212a21d708aced277e6e85a
+ PATCH_FILES=$(TARFILE_NAME).patch
+
++# At least GCC 4.7 treats more correctly now the type of enumerators prior to
++# the closing brace of the enum-specifier (see [dcl.enum] in the C++ 2003
++# Standard), leading to "comparison between <enum1> and <enum2> [-Werror=enum-
++# compare]" and "enumeral mismatch in conditional expression [-Werror]"
++# warnings:
++PATCH_FILES += vigra1.4.0-enumwarn.patch
++
+ CONFIGURE_DIR=
+ CONFIGURE_ACTION=
+
+diff --git a/vigra/vigra1.4.0-enumwarn.patch b/vigra/vigra1.4.0-enumwarn.patch
+new file mode 100644
+index 0000000..8ea1ed7
+--- /dev/null
++++ b/vigra/vigra1.4.0-enumwarn.patch
+@@ -0,0 +1,13 @@
++--- misc/vigra1.4.0/include/vigra/sized_int.hxx 2012-03-28 13:36:02.743956393 +0200
+++++ misc/build/vigra1.4.0/include/vigra/sized_int.hxx 2012-03-28 13:35:44.956057143 +0200
++@@ -80,8 +80,8 @@
++ template<class LIST>
++ struct SelectBiggestIntegerType
++ {
++- enum { cursize = LIST::size,
++- nextsize = SelectBiggestIntegerType<typename LIST::next>::size,
+++ enum { cursize = static_cast< int >(LIST::size),
+++ nextsize = static_cast< int >(SelectBiggestIntegerType<typename LIST::next>::size),
++ size = (cursize < nextsize) ? nextsize : cursize };
++ typedef typename
++ IfBool<(cursize < nextsize),
+--
+cgit v0.9.0.2-2-gbebe
+From 8431ad2d8b64400052b8e6e218117dd9fb72f316 Mon Sep 17 00:00:00 2001
+From: Stephan Bergmann <sbergman@redhat.com>
+Date: Thu, 29 Mar 2012 11:57:35 +0000
+Subject: Backport some Boost 1.48.0 changes to keep GCC 4.7 -std=c++11 happy
+
+---
+diff --git a/boost/boost_1_44_0-gcc4.7.patch b/boost/boost_1_44_0-gcc4.7.patch
+new file mode 100644
+index 0000000..842a92a
+--- /dev/null
++++ b/boost/boost_1_44_0-gcc4.7.patch
+@@ -0,0 +1,49 @@
++--- misc/boost_1_44_0/boost/smart_ptr/shared_ptr.hpp 2009-12-14 18:44:19.000000000 +0100
+++++ misc/build/boost_1_44_0/boost/smart_ptr/shared_ptr.hpp 2012-03-28 08:32:46.772493003 +0200
++@@ -207,7 +207,17 @@
++ boost::detail::sp_enable_shared_from_this( this, p, p );
++ }
++
++-// generated copy constructor, destructor are fine
+++// generated copy constructor, destructor are fine...
+++
+++#if defined( BOOST_HAS_RVALUE_REFS )
+++
+++// ... except in C++0x, move disables the implicit copy
+++
+++ shared_ptr( shared_ptr const & r ): px( r.px ), pn( r.pn ) // never throws
+++ {
+++ }
+++
+++#endif
++
++ template<class Y>
++ explicit shared_ptr(weak_ptr<Y> const & r): pn(r.pn) // may throw
++--- misc/boost_1_44_0/boost/smart_ptr/weak_ptr.hpp 2009-12-14 18:44:19.000000000 +0100
+++++ misc/build/boost_1_44_0/boost/smart_ptr/weak_ptr.hpp 2012-03-28 10:31:57.607462325 +0200
++@@ -40,8 +40,24 @@
++ {
++ }
++
++-// generated copy constructor, assignment, destructor are fine
+++// generated copy constructor, assignment, destructor are fine...
++
+++#if defined( BOOST_HAS_RVALUE_REFS )
+++
+++// ... except in C++0x, move disables the implicit copy
+++
+++ weak_ptr( weak_ptr const & r ): px( r.px ), pn( r.pn ) // never throws
+++ {
+++ }
+++
+++ weak_ptr & operator=( weak_ptr const & r ) // never throws
+++ {
+++ px = r.px;
+++ pn = r.pn;
+++ return *this;
+++ }
+++
+++#endif
++
++ //
++ // The "obvious" converting constructor implementation:
+diff --git a/boost/makefile.mk b/boost/makefile.mk
+index 093566b..cab945f 100644
+--- a/boost/makefile.mk
++++ b/boost/makefile.mk
+@@ -71,6 +71,9 @@ PATCH_FILES+=boost.windows.patch
+
+ PATCH_FILES+=boost.windows.patch
+
++# Backporting fixes for the GCC 4.7 -std=c++11 mode from Boost 1.48.0:
++PATCH_FILES += boost_1_44_0-gcc4.7.patch
++
+ ADDITIONAL_FILES= \
+ libs/thread/src/win32/makefile.mk \
+ libs/date_time/src/gregorian/makefile.mk
+--
+cgit v0.9.0.2-2-gbebe
+diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx
+index 10a95c1..f4f34d6 100644
+--- a/sal/qa/osl/mutex/osl_Mutex.cxx
++++ b/sal/qa/osl/mutex/osl_Mutex.cxx
+@@ -754,7 +754,7 @@ namespace osl_ClearableGuard
+ TimeValue aTimeVal_after;
+ osl_getSystemTime( &aTimeVal_after );
+ sal_Int32 nSec = aTimeVal_after.Seconds - aTimeVal_befor.Seconds;
+- printf("nSec is %"SAL_PRIdINT32"\n", nSec);
++ printf("nSec is %" SAL_PRIdINT32 "\n", nSec);
+
+ myThread.join();
+
--- /dev/null
+--- a/configure.in-old 2012-04-07 00:05:49.607740045 +0200
++++ b/configure.in 2012-04-07 00:06:53.899999955 +0200
+@@ -4287,7 +4287,8 @@
+ if test "$JDK" = "gcj"; then
+ save_CFLAGS=$CFLAGS
+ save_LDFLAGS=$LDFLAGS
+- CFLAGS="$CFLAGS -I$JAVA_HOME/include"
++ GCJ_JNI_INCLUDE=`$JAVA_HOME/bin/gcj --print-file-name include/jni.h | $SED -e s,\/jni.h,,g`
++ CFLAGS="$CFLAGS -I$JAVA_HOME/include -I$GCJ_JNI_INCLUDE"
+ LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
+ exec 6>/dev/null # no output
+ AC_CHECK_HEADER(jni.h, [],
+@@ -4336,6 +4338,7 @@
+ AC_SUBST(JAVAIFLAGS)
+ AC_SUBST(JAVACOMPILER)
+ AC_SUBST(JAVADOC)
++AC_SUBST(GCJ_JNI_INCLUDE)
+
+ dnl ===================================================================
+ dnl Checks for specific files.
+--- a/set_soenv.in-old 2012-04-06 23:34:58.307738832 +0200
++++ b/set_soenv.in 2012-04-06 23:37:24.960240235 +0200
+@@ -1311,6 +1311,10 @@
+
+ $SOLARINC .=$I.$JAVA_HOME.$INCLUDE.$ds."native_threads".$INCLUDE;
+ }
++ if ($JDK eq "gcj")
++ {
++ $SOLARINC .= $I."@GCJ_JNI_INCLUDE@";
++ }
+ #The tail, if needed
+ if ($platform =~ m/linux|freebsd|netbsd|aix|openbsd|dragonfly/)
+ { if ( $XINC ne "/usr/include" && $XINC ne 'no_x_includes' ) {
--- /dev/null
+For whatever reason we get undefined referenced to g_module_*.
+
+--- a/vcl/Library_vclplug_gtk3.mk-old 2012-04-01 23:57:18.435192769 +0200
++++ b/vcl/Library_vclplug_gtk3.mk 2012-04-02 00:07:03.610693627 +0200
+@@ -55,6 +55,7 @@
+ $(eval $(call gb_Library_add_libs,vclplug_gtk3,\
+ $$(GTK3_LIBS) \
+ $$(GTHREAD_LIBS) \
++ $$(GMODULE_LIBS) \
+ ))
+
+ $(eval $(call gb_Library_add_linked_libs,vclplug_gtk3,\
+--- a/configure.in-old 2012-04-01 23:57:57.091193585 +0200
++++ a/configure.in 2012-04-01 23:58:51.926693332 +0200
+@@ -6996,10 +6996,13 @@
+ else
+ AC_MSG_ERROR([gtk3 libraries of the correct versions, not found])
+ fi
++ PKG_CHECK_MODULES(GMODULE, gmodule-2.0,,AC_MSG_ERROR([requirements to build the gtk3-plugin not met. Use --disable-gtk3 or install the missing packages]))
+ fi
+ AC_SUBST(GTK3_LIBS)
+ AC_SUBST(GTK3_CFLAGS)
+ AC_SUBST(ENABLE_GTK3)
++AC_SUBST(GMODULE_LIBS)
++AC_SUBST(GMODULE_CFLAGS)
+
+ AC_MSG_CHECKING([which VCLplugs shall be built])
+ ENABLE_GTK=""
+--- a/set_soenv.in-old 2012-04-02 00:02:17.578693138 +0200
++++ b/set_soenv.in 2012-04-02 00:02:52.858693628 +0200
+@@ -1486,6 +1486,8 @@
+ ToFile( "ENABLE_GTK3", "@ENABLE_GTK3@", "e" );
+ ToFile( "GTK3_CFLAGS", "@GTK3_CFLAGS@", "e" );
+ ToFile( "GTK3_LIBS", "@GTK3_LIBS@", "e" );
++ToFile( "GMODULE_CFLAGS", "@GMODULE_CFLAGS@", "e" );
++ToFile( "GMODULE_LIBS", "@GMODULE_LIBS@", "e" );
+ ToFile( "GTHREAD_CFLAGS", "@GTHREAD_CFLAGS@", "e" );
+ ToFile( "GTHREAD_LIBS", "@GTHREAD_LIBS@", "e" );
+ ToFile( "ENABLE_SYSTRAY_GTK", "@ENABLE_SYSTRAY_GTK@", "e" );
--- /dev/null
+Index: logit/sfx2/source/appl/sfxhelp.cxx
+===================================================================
+--- logit.orig/sfx2/source/appl/sfxhelp.cxx 2011-11-22 20:57:46.000000000 +0000
++++ logit/sfx2/source/appl/sfxhelp.cxx 2011-11-24 16:03:16.084114498 +0000
+@@ -104,7 +104,7 @@
+
+ NoHelpErrorBox::NoHelpErrorBox( Window* _pParent ) :
+
+- ErrorBox( _pParent, WB_OK, String( SfxResId( RID_STR_HLPFILENOTEXIST ) ) )
++ ErrorBox( _pParent, WB_OK, String( SfxResId( RID_STR_HLPFILENOTEXIST ) ).Append(String(DEFINE_CONST_UNICODE(".\nPlease install the libreoffice-help-en-us package or the locale specific help package libreoffice-help-<language-code>."))) )
+ {
+ // Error message: "No help available"
+ }
--- /dev/null
+--- a/sc/CppunitTest_sc_cellrangesbase.mk-old 2012-05-09 01:02:30.359827642 +0200
++++ b/sc/CppunitTest_sc_cellrangesbase.mk 2012-05-09 01:04:10.416323786 +0200
+@@ -139,4 +139,6 @@
+ # b) explicitly depend on the sc resource files needed at unit-test runtime
+ $(call gb_CppunitTest_get_target,sc_cellrangesbase) : $(call gb_Library_get_target,scfilt) $(WORKDIR)/AllLangRes/sc
+
++.IGNORE: $(call gb_CppunitTest_get_target,sc_cellrangesbase)
++
+ # vim: set noet sw=4 ts=4:
--- /dev/null
+diff --git a/bin/distro-install-file-lists b/bin/distro-install-file-lists
+index eaabf9c..c1b1ec6 100755
+--- libreoffice-3.5.0/bin/distro-install-file-lists
++++ libreoffice-3.5.0/bin/distro-install-file-lists
+@@ -2,6 +2,8 @@
+
+ . ./*[Ee]nv.[Hh]ost.sh
+
++export OOO_VENDOR=Debian
++
+ BUILDDIR=`pwd`
+ FILELISTSDIR="$BUILDDIR/file-lists"
+
+@@ -365,163 +365,6 @@
+ # the British fixes can be removed after the issue #54113 is fixed
+ remove_duplicity_from_flists common_list.txt lang_en-GB_list.txt $INSTALLDIR/presets/config/standard.sog
+
+-else
+-
+- echo "Creating package directories..."
+-
+- test -d pkg && rm -r pkg || :
+-
+- # Create package tree (needed by Debian's dpkg)
+- # create_package_directory <list_file> <directory_name>
+- create_package_directory()
+- {
+- listfile=$1
+- directory="$2"
+- perl -nl \
+- -e " if(/^%dir (.*)/)
+- {system('mkdir', '-p', '-m', '755', \"$directory\".\$1);}
+- else
+- {rename('./'.\$_, \"$directory\".\$_);}
+- " \
+- $listfile
+- }
+-
+- create_package_directory gid_Module_Root_Ure_Hidden pkg/ure
+-
+- create_package_directory gid_Module_Root pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Brand pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_Images pkg/libreoffice-common
+- create_package_directory gid_Module_Oo_Linguistic pkg/libreoffice-common
+- create_package_directory gid_Module_Optional_Xsltfiltersamples pkg/libreoffice-common
+- create_package_directory gid_Module_Optional_Javafilter pkg/libreoffice-common
+- if [ -f gid_Module_Optional_Binfilter ]; then
+- create_package_directory gid_Module_Optional_Binfilter pkg/libreoffice-filter-binfilter
+- fi
+- create_package_directory gid_Module_Optional_Grfflt pkg/libreoffice-draw
+- create_package_directory gid_Module_Prg_Calc_Bin pkg/libreoffice-calc
+- create_package_directory gid_Module_Prg_Math_Bin pkg/libreoffice-math
+- create_package_directory gid_Module_Prg_Draw_Bin pkg/libreoffice-draw
+- create_package_directory gid_Module_Prg_Wrt_Bin pkg/libreoffice-writer
+- create_package_directory gid_Module_Prg_Impress_Bin pkg/libreoffice-impress
+- create_package_directory gid_Module_Prg_Base_Bin pkg/libreoffice-base
+- create_package_directory gid_Module_Brand_Prg_Calc pkg/libreoffice-calc
+- create_package_directory gid_Module_Brand_Prg_Math pkg/libreoffice-math
+- create_package_directory gid_Module_Brand_Prg_Draw pkg/libreoffice-draw
+- create_package_directory gid_Module_Brand_Prg_Wrt pkg/libreoffice-writer
+- create_package_directory gid_Module_Brand_Prg_Impress pkg/libreoffice-impress
+- create_package_directory gid_Module_Brand_Prg_Base pkg/libreoffice-base
+- create_package_directory gid_Module_Optional_Pyuno pkg/python-uno
+- create_package_directory gid_Module_Optional_Gnome pkg/libreoffice-gnome
+- create_package_directory gid_Module_Optional_Kde pkg/libreoffice-kde
+-
+- create_package_directory gid_Module_Root_Files_2 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_3 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_4 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_5 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_6 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_7 pkg/libreoffice-common
+- create_package_directory gid_Module_Optional_Testtool pkg/libreoffice-qa-tools
+- if [ -e gid_Module_Optional_Pymailmerge ]; then
+- create_package_directory gid_Module_Optional_Pymailmerge pkg/libreoffice-emailmerge
+- else # post m26
+- mkdir -p pkg/libreoffice-emailmerge/$INSTALLDIR/program
+- mv pkg/libreoffice-common/$INSTALLDIR/program/mailmerge.py \
+- pkg/libreoffice-emailmerge/$INSTALLDIR/program/mailmerge.py
+- fi
+- create_package_directory gid_Module_Optional_OGLTrans pkg/libreoffice-ogltrans
+-
+- create_package_directory gid_Module_Root_SDK pkg/libreoffice-dev
+-
+- for l in `echo $WITH_LANG_LIST`; do
+- for p in Impress Draw Math Calc Base Writer; do
+- create_package_directory gid_Module_Langpack_${p}_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+- done
+- create_package_directory gid_Module_Langpack_Basis_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+- create_package_directory gid_Module_Langpack_Brand_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+- create_package_directory gid_Module_Langpack_Resource_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+- create_package_directory gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g` pkg/libreoffice-help-$l
+- if [ -f gid_Module_Optional_Binfilter ]; then
+- if [ "$l" = "en-US" ]; then
+- create_package_directory gid_Module_Langpack_Binfilter_en_US pkg/libreoffice-filter-binfilter
+- else
+- create_package_directory gid_Module_Langpack_Binfilter_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+- fi
+- fi
+- # some help files are in _Langpack_{Writer,Impress,...}_<lang>
+- # move them from -l10n to -help
+- if [ "$l" = "en-US" ]; then d=en; else d=$l; fi
+- mv pkg/libreoffice-l10n-$l/$INSTALLDIR/help/$d/* \
+- pkg/libreoffice-help-$l/$INSTALLDIR/help/$d && \
+- rmdir pkg/libreoffice-l10n-$l/$INSTALLDIR/help/$d
+- done
+-
+- # move_wrappers <directory_name> <name> [...]
+- move_wrappers()
+- {
+- directory=$1
+- shift
+- mkdir -m755 -p "$directory"/usr/bin
+- while test -n "$1"; do
+- mv usr/*bin/"$1$BINSUFFIX" "$directory"/usr/bin
+- shift
+- done
+- }
+- move_wrappers pkg/libreoffice-common soffice unopkg
+- if test "$COMPAT_OOWRAPPERS" = "YES" ; then
+- move_wrappers pkg/libreoffice-common ooffice oofromtemplate
+- move_wrappers pkg/libreoffice-base oobase
+- move_wrappers pkg/libreoffice-writer oowriter ooweb
+- move_wrappers pkg/libreoffice-calc oocalc
+- move_wrappers pkg/libreoffice-impress ooimpress
+- move_wrappers pkg/libreoffice-math oomath
+- move_wrappers pkg/libreoffice-draw oodraw
+- fi
+- move_wrappers pkg/libreoffice-common libreoffice lofromtemplate
+- move_wrappers pkg/libreoffice-base lobase
+- move_wrappers pkg/libreoffice-writer lowriter loweb
+- move_wrappers pkg/libreoffice-calc localc
+- move_wrappers pkg/libreoffice-impress loimpress
+- move_wrappers pkg/libreoffice-math lomath
+- move_wrappers pkg/libreoffice-draw lodraw
+-
+- # Move all libraries, binaries, *.rdb from -common to -core
+- for d in $INSTALLDIR/program $INSTALLDIR/program; do \
+- if [ ! -d $DESTDIR/pkg/libreoffice-core/$d ]; then \
+- mkdir -p $DESTDIR/pkg/libreoffice-core/$d; \
+- fi &&
+- ( cd pkg/libreoffice-common/$d
+- find -maxdepth 1 \
+- -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|nsplugin\|kdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|uri-encode\)' \
+- -exec mv {} $DESTDIR/pkg/libreoffice-core/$d \;
+- ); \
+- done
+-
+- # install additional ooo-build scripts & misc stuff
+- mkdir -p pkg/libreoffice-common/usr/share/man/man1
+- if test "$COMPAT_OOWRAPPERS" = "YES" ; then
+- mv usr/share/man/man1/openoffice$BINSUFFIX.1 \
+- pkg/libreoffice-common/usr/share/man/man1
+- fi
+- mv usr/share/man/man1/libreoffice$BINSUFFIX.1 \
+- pkg/libreoffice-common/usr/share/man/man1
+- mkdir -p pkg/libreoffice-common/etc/bash_completion.d
+- if test "$COMPAT_OOWRAPPERS" = "YES" ; then
+- mv etc/bash_completion.d/ooffice$BINSUFFIX.sh \
+- pkg/libreoffice-common/etc/bash_completion.d
+- fi
+- mv etc/bash_completion.d/libreoffice$BINSUFFIX.sh \
+- pkg/libreoffice-common/etc/bash_completion.d
+- mv .$INSTALLDIR/program/java-set-classpath \
+- pkg/libreoffice-common/$INSTALLDIR/program
+- if echo $WITH_LANG_LIST | grep -q en-US; then
+- for i in forms/resume.ott officorr/project-proposal.ott; do \
+- mkdir -p pkg/libreoffice-common/$INSTALLDIR/share/template/en-US/`dirname $i`; \
+- mv .$INSTALLDIR/share/template/en-US/$i \
+- pkg/libreoffice-common/$INSTALLDIR/share/template/en-US/$i; \
+- done; \
+- fi
+- # Warn for any remaining files
+- find . -path './pkg' -prune -o -not -name 'gid_Module_*' -not -type d -exec echo "File not packaged: {}" \;
+ fi
+
+ # mark the config files
+diff --git a/solenv/gbuild/extensions/post_AuxTargets.mk b/solenv/gbuild/extensions/post_AuxTargets.mk
+index 7622047..9978cda 100644
+--- libreoffice-3.5.0/solenv/gbuild/extensions/post_AuxTargets.mk
++++ libreoffice-3.5.0/solenv/gbuild/extensions/post_AuxTargets.mk
+@@ -83,7 +83,7 @@
+ desktop/scripts/soffice.sh ooo.lst post_download post_download.log \
+ set_soenv set_soenv.last set_soenv.stamp src.downloaded warn
+
+-install: build
++install:
+ echo "Installing in $(INSTALLDIR)..." && \
+ ooinstall "$(INSTALLDIR)" && \
+ echo "" && \
--- /dev/null
+diff --git a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+index 9be30a2..59c87cb 100644
+--- a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
++++ b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+@@ -141,6 +141,25 @@
+ </node>
+ </node>
+ </node>
++ <node oor:name="JDBC">
++ <node oor:name="DriverClassPaths">
++ <node oor:name="com.mysql.jdbc.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/mysql.jar</value>
++ </prop>
++ </node>
++ <node oor:name="org.postgresql.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/posgresql.jar</value>
++ </prop>
++ </node>
++ <node oor:name="net.sourceforge.jtds.jdbc.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/jtds.jar</value>
++ </prop>
++ </node>
++ </node>
++ </node>
+ <node oor:name="RegisteredNames">
+ <node oor:name="EvolutionLocal" oor:op="replace" install:module="evoab2">
+ <prop oor:name="Location" oor:type="xs:string">
--- /dev/null
+From 7e6a58014864ddafe534ed7a08ecca75fa4e4860 Mon Sep 17 00:00:00 2001
+From: Michael Stahl <mstahl@redhat.com>
+Date: Thu, 17 May 2012 22:50:25 +0000
+Subject: codemaker: write version 49 (1.5) class files
+
+The trick of writing generic types into class files of versions < 49
+does no longer work with javac from OpenJDK 7:
+
+/comphelper/qa/complex/comphelper/Map.java:154: error: type Pair does
+not take parameters
+ Pair< ?, ? >[] initialMappings = new Pair< ?, ? >[ _keys.length ];
+
+There appears to be a related JDK bug for this, at some time javac had
+an undocumented option to produce similar class files that are also
+rejected now, this has been closed as "Not a Defect":
+
+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7078419
+
+Change-Id: I8a504f6cbb3bb58cd914aebb88637cc6feb0bd48
+(cherry picked from commit 26643fb59e0005f0bc83708b785d20d62d8e7411)
+
+Signed-off-by: Michael Stahl <mstahl@redhat.com>
+Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
+---
+diff --git a/codemaker/source/javamaker/classfile.cxx b/codemaker/source/javamaker/classfile.cxx
+index 4f74781..59d386e 100644
+--- a/codemaker/source/javamaker/classfile.cxx
++++ b/codemaker/source/javamaker/classfile.cxx
+@@ -693,7 +693,7 @@ void ClassFile::addMethod(
+ void ClassFile::write(FileStream & file) const {
+ writeU4(file, 0xCAFEBABE);
+ writeU2(file, 0);
+- writeU2(file, 46);
++ writeU2(file, 49); // class file version of JRE 1.5
+ writeU2(file, m_constantPoolCount);
+ writeStream(file, m_constantPool);
+ writeU2(file, static_cast< sal_uInt16 >(m_accessFlags));
+--
+cgit v0.9.0.2-2-gbebe
+diff --git a/hsqldb/makefile.mk b/hsqldb/makefile.mk
+index 8b3d5b1..2e9fa8a 100755
+--- a/hsqldb/makefile.mk
++++ b/hsqldb/makefile.mk
+@@ -56,7 +56,8 @@ CONVERTFILES=build$/build.xml \
+ PATCH_FILES=patches$/i96823.patch \
+ patches$/i97032.patch \
+ patches$/i103528.patch \
+- patches$/i104901.patch
++ patches$/i104901.patch \
++ patches$/jdbc-4.1.patch
+
+ .IF "$(JAVACISGCJ)"=="yes"
+ JAVA_HOME=
+diff --git a/hsqldb/patches/jdbc-4.1.patch b/hsqldb/patches/jdbc-4.1.patch
+new file mode 100644
+index 0000000..89149c4
+--- /dev/null
++++ b/hsqldb/patches/jdbc-4.1.patch
+@@ -0,0 +1,267 @@
++--- misc/hsqldb/build/build.xml 2012-02-08 15:14:42.827123541 +0000
+++++ misc/build/hsqldb/build/build.xml 2012-02-08 15:21:43.827722388 +0000
++@@ -98,7 +98,11 @@
++ <echo message="ant.java.hasjsse=${ant.java.hasjsse}" />
++ </target>
++
++- <target name="javaversion6">
+++ <target name="javaversion7">
+++ <available classname="java.util.Objects" property="ant.java.iscjava17"/>
+++ </target>
+++
+++ <target name="javaversion6" depends="javaversion7" unless="ant.java.iscjava17">
++ <available classname="java.net.IDN" property="ant.java.iscjava16"/>
++ </target>
++
++@@ -210,6 +214,7 @@
++ <arg value="+JAVA2FULL"/>
++ <arg value="-JAVA4"/>
++ <arg value="-JAVA6"/>
+++ <arg value="-JAVA7"/>
++ </java>
++ </target>
++
++@@ -244,6 +249,7 @@
++ <arg value="+JAVA2FULL"/>
++ <arg value="+JAVA4"/>
++ <arg value="-JAVA6"/>
+++ <arg value="-JAVA7"/>
++ </java>
++ </target>
++
++@@ -279,10 +285,47 @@
++ <arg value="+JAVA2FULL"/>
++ <arg value="+JAVA4"/>
++ <arg value="+JAVA6"/>
+++ <arg value="+JAVA7"/>
+++ </java>
+++ </target>
+++
+++ <target name="switchtojdk17" depends="switchtojdk16"
+++ description="self explanatory" if="ant.java.iscjava17">
+++ <java classname="org.hsqldb.util.CodeSwitcher" classpath="classes" >
+++ <arg file="${src}/org/hsqldb/lib/java/JavaSystem.java"/>
+++ <arg file="${src}/org/hsqldb/lib/HsqlTimer.java"/>
+++ <arg file="${src}/org/hsqldb/jdbcDriver.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcBlob.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcDatabaseMetaData.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcDataSource.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcCallableStatement.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcClob.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcConnection.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcParameterMetaData.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcPreparedStatement.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcResultSet.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcResultSetMetaData.java"/>
+++ <arg file="${src}/org/hsqldb/jdbc/jdbcStatement.java"/>
+++ <arg file="${src}/org/hsqldb/persist/LockFile.java"/>
+++ <arg file="${src}/org/hsqldb/persist/Logger.java"/>
+++ <arg file="${src}/org/hsqldb/persist/ScaledRAFile.java"/>
+++ <arg file="${src}/org/hsqldb/rowio/RowInputTextLog.java"/>
+++ <arg file="${src}/org/hsqldb/util/DatabaseManager.java"/>
+++ <arg file="${src}/org/hsqldb/util/ConnectionDialogCommon.java"/>
+++ <arg file="${src}/org/hsqldb/lib/SimpleLog.java"/>
+++ <arg file="${src}/org/hsqldb/rowio/RowInputTextLog.java"/>
+++ <arg file="${src}/org/hsqldb/lib/SimpleLog.java"/>
+++ <arg file="${src}/org/hsqldb/rowio/RowInputTextLog.java"/>
+++ <arg file="${src}/org/hsqldb/HsqlDateTime.java"/>
+++ <arg value="+JAVA2"/>
+++ <arg value="+JAVA2FULL"/>
+++ <arg value="+JAVA4"/>
+++ <arg value="+JAVA6"/>
+++ <arg value="+JAVA7"/>
++ </java>
++ </target>
++
++- <target name="store" depends="switchtojdk16"
+++ <target name="store" depends="switchtojdk17"
++ description="compiles the /store folder">
++ <javac srcdir="${src}"
++ destdir="classes"
++--- misc/hsqldb/src/org/hsqldb/jdbc/jdbcCallableStatement.java 2012-02-08 15:14:42.802123563 +0000
+++++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcCallableStatement.java 2012-02-08 15:47:35.842635642 +0000
++@@ -3375,4 +3375,18 @@
++ }
++
++ //#endif JAVA6
+++
+++//#ifdef JAVA7
+++ public <T> T getObject(String columnLabel, Class<T> type) throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++ public <T> T getObject(int ColumnIndex, Class<T> type) throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++
+++//#endif JAVA7
++ }
++--- misc/hsqldb/src/org/hsqldb/jdbc/jdbcConnection.java 2012-02-08 15:14:42.802123563 +0000
+++++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcConnection.java 2012-02-08 15:47:35.851635628 +0000
++@@ -48,6 +48,12 @@
++ import java.sql.SQLXML;
++
++ //#endif JAVA6
+++
+++//#ifdef JAVA7
+++import java.util.concurrent.Executor;
+++
+++//#endif JAVA7
+++
++ import java.sql.PreparedStatement;
++ import java.sql.SQLException;
++ import java.sql.SQLWarning;
++@@ -2793,4 +2799,31 @@
++ }
++
++ //#endif JAVA6
+++
+++//#ifdef JAVA7
+++ public int getNetworkTimeout() throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++ public void setNetworkTimeout(Executor executor, int millis) throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++ public void abort(Executor executor) throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++ public String getSchema() throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++ public void setSchema(String schema) throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++//#endif JAVA7
++ }
++--- misc/hsqldb/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.java 2012-02-08 15:14:42.802123563 +0000
+++++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.java 2012-02-08 15:47:35.835635654 +0000
++@@ -5693,4 +5693,21 @@
++ }
++
++ //#endif JAVA6
+++
+++
+++//#ifdef JAVA7
+++ public boolean generatedKeyAlwaysReturned() throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++ public ResultSet getPseudoColumns(String catalog, String schemaPattern,
+++ String tableNamePattern, String columnNamePattern) throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++
+++//#endif JAVA7
+++
++ }
++--- misc/hsqldb/src/org/hsqldb/jdbc/jdbcDataSource.java 2012-02-08 15:14:42.802123563 +0000
+++++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcDataSource.java 2012-02-08 15:47:35.836635653 +0000
++@@ -47,6 +47,11 @@
++ //#endif JAVA4
++ import org.hsqldb.jdbcDriver;
++
+++//#ifdef JAVA7
+++import java.sql.SQLFeatureNotSupportedException;
+++import java.util.logging.Logger;
+++//#endif JAVA7
+++
++ // boucherb@users 20040411 - doc 1.7.2 - javadoc updates toward 1.7.2 final
++
++ /**
++@@ -323,4 +328,12 @@
++ }
++
++ //#endif JAVA6
+++
+++//#ifdef JAVA7
+++ public Logger getParentLogger() throws SQLFeatureNotSupportedException
+++ {
+++ throw new SQLFeatureNotSupportedException("Not supported yet.");
+++ }
+++
+++//#endif JAVA7
++ }
++--- misc/hsqldb/src/org/hsqldb/jdbc/jdbcResultSet.java 2012-02-08 15:14:42.802123563 +0000
+++++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcResultSet.java 2012-02-08 15:47:35.866635606 +0000
++@@ -5324,4 +5324,19 @@
++ }
++
++ //#endif JAVA6
+++
+++//#ifdef JAVA7
+++
+++ public <T> T getObject(String columnLabel, Class<T> type) throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++ public <T> T getObject(int columnNum, Class<T> type) throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++//#endif JAVA7
+++
++ }
++--- misc/hsqldb/src/org/hsqldb/jdbc/jdbcStatement.java 2012-02-08 15:14:42.802123563 +0000
+++++ misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcStatement.java 2012-02-08 15:47:35.872635595 +0000
++@@ -1608,4 +1608,16 @@
++ throw new UnsupportedOperationException("Not supported yet.");
++ }
++ //#endif JAVA6
+++
+++//#ifdef JAVA7
+++ public boolean isCloseOnCompletion() throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++
+++ public void closeOnCompletion() throws SQLException
+++ {
+++ throw new UnsupportedOperationException("Not supported yet.");
+++ }
+++//#endif JAVA7
++ }
++--- misc/hsqldb/src/org/hsqldb/jdbcDriver.java 2012-02-08 15:14:42.800123566 +0000
+++++ misc/build/hsqldb/src/org/hsqldb/jdbcDriver.java 2012-02-08 15:47:35.826635667 +0000
++@@ -42,6 +42,11 @@
++ import org.hsqldb.persist.HsqlDatabaseProperties;
++ import org.hsqldb.persist.HsqlProperties;
++
+++//#ifdef JAVA7
+++import java.sql.SQLFeatureNotSupportedException;
+++import java.util.logging.Logger;
+++//#endif JAVA7
+++
++ // fredt@users 20011220 - patch 1.7.0 by fredt
++ // new version numbering scheme
++ // fredt@users 20020320 - patch 1.7.0 - JDBC 2 support and error trapping
++@@ -321,4 +326,12 @@
++ DriverManager.registerDriver(new jdbcDriver());
++ } catch (Exception e) {}
++ }
+++
+++//#ifdef JAVA7
+++ public Logger getParentLogger() throws SQLFeatureNotSupportedException
+++ {
+++ throw new SQLFeatureNotSupportedException("Not supported yet.");
+++ }
+++
+++//#endif JAVA7
++ }
--- /dev/null
+commit b71107fb12e3c3125e0cb62c5a4f6636a80c6408
+Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+AuthorDate: Tue Jun 7 11:52:37 2011 +0200
+Commit: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+CommitDate: Tue Jun 7 11:52:37 2011 +0200
+
+ on debian-based systems, we know where our soffice binary is
+
+diff --git a/jurt/com/sun/star/lib/util/NativeLibraryLoader.java b/jurt/com/sun/star/lib/util/NativeLibraryLoader.jav
+index da22980..36664ca 100644
+--- libreoffice-3.5.0/jurt/com/sun/star/lib/util/NativeLibraryLoader.java
++++ libreoffice-3.5.0/jurt/com/sun/star/lib/util/NativeLibraryLoader.java
+@@ -111,6 +111,8 @@ public final class NativeLibraryLoader {
+ }
+ }
+ }
++ if (name.equals("soffice"))
++ return new File("/usr/lib/libreoffice/program/soffice");
+ return null;
+ }
--- /dev/null
+From 19bb32e40462042b7818383ded15f37ebda4fcbf Mon Sep 17 00:00:00 2001
+From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+Date: Thu, 26 Apr 2012 02:10:36 +0200
+Subject: [PATCH] lp#904212: add missing mimetypes to impress.desktop
+
+* application/vnd.openxmlformats-officedocument.presentationml.slide
+* application/vnd.openxmlformats-officedocument.presentationml.slideshow
+
+Conflicts:
+
+ sysui/desktop/menus/impress.desktop
+---
+ sysui/desktop/menus/impress.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sysui/desktop/menus/impress.desktop b/sysui/desktop/menus/impress.desktop
+index 92060e3..e4bb88b 100755
+--- a/sysui/desktop/menus/impress.desktop
++++ b/sysui/desktop/menus/impress.desktop
+@@ -5,7 +5,7 @@ Icon=impress
+ Type=Application
+ Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Presentations;
+ Exec=${UNIXBASISROOTNAME} --impress %U
+-MimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-flat-xml;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;
++MimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-flat-xml;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slide;application/vnd.openxmlformats-officedocument.presentationml.slideshow;
+ Name=%PRODUCTNAME Impress
+ GenericName=Presentation
+ Comment=Create and edit presentations for slideshows, meeting and Web pages by using Impress.
+--
+1.7.9.5
+
--- /dev/null
+Index: libreoffice-3.5.2/sysui/desktop/menus/draw.desktop
+===================================================================
+--- libreoffice-3.5.2.orig/sysui/desktop/menus/draw.desktop 2012-04-17 18:27:52.275847121 +0200
++++ libreoffice-3.5.2/sysui/desktop/menus/draw.desktop 2012-04-17 18:38:24.111855749 +0200
+@@ -5,7 +5,7 @@
+ Type=Application
+ Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Drawing;
+ Exec=${UNIXBASISROOTNAME} --draw %U
+-MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;
++MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;application/vnd.visio;
+ Name=%PRODUCTNAME Draw
+ GenericName=Drawing Program
+ Comment=Create and edit drawings, flow charts, and logos by using Draw.
--- /dev/null
+diff --git a/scp2/source/base/module_base.scp b/scp2/source/base/module_base.scp
+index 1a245a6..dc9dbf0 100644
+--- a/scp2/source/base/module_base.scp
++++ b/scp2/source/base/module_base.scp
+@@ -51,6 +51,20 @@ Module gid_Module_Prg_Base_Bin
+ ,gid_File_Lib_Rpt
+ ,gid_File_Lib_Rptui
+ ,gid_File_Lib_Rptxml
++ ,gid_File_Lib_Dba
++ ,gid_File_Lib_Dbase2
++ ,gid_File_Lib_Dbaxml
++ ,gid_File_Lib_Odbcbase
++ ,gid_File_Lib_Dbpool
++ ,gid_File_Lib_Odbc
++ ,gid_File_Lib_Sdbc_2
++ ,gid_File_Lib_Mysql
++#ifdef SOLAR_JAVA
++ ,gid_File_Lib_Jdbc
++ ,gid_File_Lib_Hsqldb_2
++#endif
++ ,gid_File_Lib_Flat
++ ,gid_File_Lib_Calc
+ );
+ End
+
+diff --git a/scp2/source/calc/module_calc.scp b/scp2/source/calc/module_calc.scp
+index 0e5e790..e5ba644 100644
+--- a/scp2/source/calc/module_calc.scp
++++ b/scp2/source/calc/module_calc.scp
+@@ -42,8 +42,9 @@ Module gid_Module_Prg_Calc_Bin
+ Minimal = YES;
+ Default = YES;
+ Styles = (HIDDEN_ROOT);
+- Files = (gid_File_Share_Registry_Calc_Xcd,gid_File_Lib_Calc,gid_File_Lib_Sc,gid_File_Lib_Scui,gid_File_Lib_Scfilt,gid_File_Lib_Scd,gid_File_Extra_Urldesktop_Calc,gid_File_Extra_Urlnew_Calc,gid_File_Extra_Urlstart_Calc,gid_File_Extra_Urltasks_Calc,gid_File_Oo_Office_Filter_Calc_Pkg,gid_File_Share_Config_Sofficecfg_Calc_Menubar_Xml,
++ Files = (gid_File_Share_Registry_Calc_Xcd,gid_File_Lib_Sc,gid_File_Lib_Scui,gid_File_Lib_Scfilt,gid_File_Lib_Scd,gid_File_Extra_Urldesktop_Calc,gid_File_Extra_Urlnew_Calc,gid_File_Extra_Urlstart_Calc,gid_File_Extra_Urltasks_Calc,gid_File_Oo_Office_Filter_Calc_Pkg,gid_File_Share_Config_Sofficecfg_Calc_Menubar_Xml,
+ gid_File_Lib_Solver,gid_File_Lib_Lpsolve,
++ gid_File_Lib_Vbaobj,
+ gid_File_Tmp_Userinstall_Calc_Inf);
+ End
+
+diff --git a/scp2/source/draw/module_draw.scp b/scp2/source/draw/module_draw.scp
+index b5bec12..920fc4e 100644
+--- a/scp2/source/draw/module_draw.scp
++++ b/scp2/source/draw/module_draw.scp
+@@ -43,6 +43,11 @@ Module gid_Module_Prg_Draw_Bin
+ Default = YES;
+ Styles = (HIDDEN_ROOT);
+ Files = (gid_File_Extra_Urldesktop_Draw,gid_File_Extra_Urlnew_Draw,gid_File_Extra_Urlstart_Draw,gid_File_Extra_Urltasks_Draw,gid_File_Share_Config_Sofficecfg_Draw_Menubar_Xml,
++ gid_File_Filter_Sdfilt,
++ gid_File_Lib_Sd,
++ gid_File_Lib_Sdd,
++ gid_File_Lib_Sdui,
++ gid_File_Filter_Sdfilt,
+ gid_File_Share_Registry_Draw_Xcd,
+ gid_File_Tmp_Userinstall_Draw_Inf);
+ End
+diff --git a/scp2/source/gnome/module_gnome.scp b/scp2/source/gnome/module_gnome.scp
+index 88a2926..beaaf0ab 100644
+--- a/scp2/source/gnome/module_gnome.scp
++++ b/scp2/source/gnome/module_gnome.scp
+@@ -62,7 +62,7 @@ Module gid_Module_Optional_Gnome
+ gid_File_Lib_Gconfbe
+ #endif
+ #if (defined ENABLE_GNOMEVFS && defined ENABLE_LOCKDOWN) || defined ENABLE_GIO
+- gid_File_Share_Registry_Gnome_Xcd
++ ,gid_File_Share_Registry_Gnome_Xcd
+ #endif
+ );
+ End
+diff --git a/scp2/source/impress/module_impress.scp b/scp2/source/impress/module_impress.scp
+index e3313c8..3f5e257 100644
+--- a/scp2/source/impress/module_impress.scp
++++ b/scp2/source/impress/module_impress.scp
+@@ -43,6 +43,7 @@ Module gid_Module_Prg_Impress_Bin
+ Default = YES;
+ Styles = (HIDDEN_ROOT);
+ Files = (gid_File_Extra_Urldesktop_Impress,gid_File_Extra_Urlnew_Impress,gid_File_Extra_Urlstart_Impress,gid_File_Extra_Urltasks_Impress,gid_File_Lib_Placeware,
++ gid_File_Lib_Slideshow,
+ gid_File_Share_Registry_Impress_Xcd,
+ gid_File_Lib_Animcore,gid_File_Share_Config_Sofficecfg_Impress_Effects_Xml, gid_File_Share_Config_Sofficecfg_Impress_Transitions_Xml,
+ gid_File_Tmp_Userinstall_Impress_Inf);
+diff --git a/scp2/source/kde/module_kde.scp b/scp2/source/kde/module_kde.scp
+index 55180c5..742cb6e 100644
+--- a/scp2/source/kde/module_kde.scp
++++ b/scp2/source/kde/module_kde.scp
+@@ -35,15 +35,25 @@ Module gid_Module_Optional_Kde
+ MOD_NAME_DESC(MODULE_OPTIONAL_KDE);
+ Styles = (DONTSHOWINUSERINSTALL);
+ Files = (
++ gid_File_Bin_Kde_Open_Url,
+ #ifdef ENABLE_KDE
+- gid_File_Lib_Kdebe
++ gid_File_Lib_Kdebe,
++ gid_File_Lib_Vclplug_Kde,
++ gid_File_Lib_Fps_Kde
+ #ifdef ENABLE_KDE4
+ ,
+ #endif // ENABLE_KDE4
+ #endif // ENABLE_KDE
+ #ifdef ENABLE_KDE4
+- gid_File_Lib_Kde4be
++ gid_File_Lib_Kde4be,
++ gid_File_Lib_Vclplug_Kde4,
++ gid_File_Lib_Fps_Kde4
+ #endif // ENABLE_KDE4
++#ifdef ENABLE_KAB
++ ,
++ gid_File_Lib_Kab_1,
++ gid_File_Lib_Kab_Drv_1
++#endif
+ );
+ End
+ #endif
+diff --git a/scp2/source/ooo/module_hidden_ooo.scp b/scp2/source/ooo/module_hidden_ooo.scp
+index 024ec68..a46e972 100644
+--- a/scp2/source/ooo/module_hidden_ooo.scp
++++ b/scp2/source/ooo/module_hidden_ooo.scp
+@@ -83,7 +83,6 @@ Module gid_Module_Root_Files_2
+ Default = YES;
+ Styles = (HIDDEN_ROOT);
+ Files = (gid_File_Bin_Cde_Open_Url,
+- gid_File_Bin_Kde_Open_Url,
+ gid_File_Bin_Open_Url,
+ gid_File_Bin_Pagein,
+ gid_File_Bin_Pluginapp,
+@@ -177,7 +176,6 @@ Module gid_Module_Root_Files_4
+ Styles = (HIDDEN_ROOT);
+ Files = (gid_File_Dat_Root4,
+ gid_File_Filter_Eme,
+- gid_File_Filter_Sdfilt,
+ gid_File_Filter_Icg,
+ gid_File_Filter_Egi,
+ gid_File_Filter_Epb,
+@@ -208,9 +206,6 @@ Module gid_Module_Root_Files_4
+ gid_File_Lib_Cui,
+ gid_File_Lib_Sdbt,
+ gid_File_Lib_Dbmm,
+- gid_File_Lib_Dba,
+- gid_File_Lib_Dbase2,
+- gid_File_Lib_Dbaxml,
+ gid_File_Lib_Dbt,
+ gid_File_Lib_Dbfile,
+ gid_File_Lib_Drawinglayer,
+@@ -240,9 +235,6 @@ Module gid_Module_Root_Files_4
+ gid_File_Lib_Sax,
+ gid_File_Lib_Sb,
+ gid_File_Lib_Scn,
+- gid_File_Lib_Sd,
+- gid_File_Lib_Sdd,
+- gid_File_Lib_Sdui,
+ gid_File_Lib_Sfx,
+ gid_File_Lib_Sot,
+ gid_File_Lib_Spa,
+@@ -277,8 +269,6 @@ Module gid_Module_Root_Files_4
+ gid_File_Lib_Odfflatxml,
+ gid_File_Lib_Zip,
+ gid_File_Lib_Vclplug_Gen,
+- gid_File_Lib_Vclplug_Kde,
+- gid_File_Lib_Vclplug_Kde4,
+ gid_File_Lib_Vclplug_Svp,
+ gid_File_Lib_Basctl,
+ gid_File_Lib_CanvasTools,
+@@ -355,7 +345,6 @@ Module gid_Module_Root_Files_5
+ gid_File_Lib_Evtatt,
+ gid_File_Lib_Fileacc,
+ gid_File_Lib_Filterconfig1,
+- gid_File_Lib_Dbodbcbase,
+ gid_File_Lib_I18npool,
+ gid_File_Lib_I18npaper,
+ gid_File_Lib_I18nregexp,
+@@ -385,7 +374,6 @@ Module gid_Module_Root_Files_5
+ gid_File_Lib_DeploymentGui,
+ gid_File_Lib_Expwrap_Uno,
+ gid_File_Lib_Fastsax_Uno,
+- gid_File_Lib_Slideshow,
+ gid_File_Lib_Recentfile,
+ gid_File_Lib_Scriptframe,
+ gid_File_Lib_Sdbc_2,
+diff --git a/scp2/source/writer/module_writer.scp b/scp2/source/writer/module_writer.scp
+index e66214b..44107d8 100644
+--- a/scp2/source/writer/module_writer.scp
++++ b/scp2/source/writer/module_writer.scp
+@@ -60,6 +60,8 @@ Module gid_Module_Prg_Wrt_Bin
+ gid_File_Jar_Mail,
+ gid_File_Jar_Activation,
+ gid_File_Share_Registry_Writer_Xcd,
++ gid_File_Lib_Sw,
++ gid_File_Lib_Vbaswobj,
+ gid_File_Tmp_Userinstall_Wrt_Inf);
+ End
+
--- /dev/null
+diff --git a/desktop/scripts/soffice.sh.in b/desktop/scripts/soffice.sh.in
+index defd7b2..ea2a809 100755
+--- a/desktop/scripts/soffice.sh.in
++++ b/desktop/scripts/soffice.sh.in
+@@ -128,6 +128,9 @@ if echo "$checks" | grep -q "cc" ; then
+ exit 1;
+ fi
+
++PYTHONPATH=$sd_prog${PYTHONPATH+:$PYTHONPATH}
++export PYTHONPATH
++
+ case "`uname -s`" in
+ NetBSD|OpenBSD|FreeBSD|DragonFly)
+ # this is a temporary hack until we can live with the default search paths
+diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py
+index f93ac5e..92a2891 100644
+--- a/pyuno/source/module/uno.py
++++ b/pyuno/source/module/uno.py
+@@ -26,8 +26,12 @@
+ # for a copy of the LGPLv3 License.
+ #
+ #*************************************************************************
++import os
+ import sys
+
++sys.path.append('/usr/lib/libreoffice/program')
++if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
++ os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:/usr/lib/libreoffice/program/fundamentalrc"
+ import pyuno
+
+ try:
+diff --git a/scripting/source/pyprov/officehelper.py b/scripting/source/pyprov/officehelper.py
+index 610ac5f..df243d0 100755
+--- a/scripting/source/pyprov/officehelper.py
++++ b/scripting/source/pyprov/officehelper.py
+@@ -53,7 +53,7 @@ def bootstrap():
+ if "UNO_PATH" in os.environ:
+ sOffice = os.environ["UNO_PATH"]
+ else:
+- sOffice = "" # lets hope for the best
++ sOffice = "/usr/lib/libreoffice/program"
+ sOffice = os.path.join(sOffice, "soffice")
+ if platform.startswith("win"):
+ sOffice += ".exe"
--- /dev/null
+From 002d68826a0655ca05c4ed77e4358f1455b5eb77 Mon Sep 17 00:00:00 2001
+From: Thomas Arnhold <thomas@arnhold.org>
+Date: Tue, 5 Jun 2012 22:26:07 +0200
+Subject: [PATCH] fdo#50415 and fdo#34638 Fix Shortcut names are not localized
+ on Linux
+
+This partially reverts commit 2233aa52da14ec85331aee1163b885fe9a9fb507
+and commit 8d9e2d9a211f710e91ac7c607fea25895282d245
+
+Before the keyboard name was used to determine the target language
+for translation of UI shortcuts. With this patch the UI locale
+is used to determine the language.
+
+Related to:
+- 8d9e2d9a211f710e91ac7c607fea25895282d245
+- 04b9c2f633f0be1b676933943bdd0b1dc58b5471
+
+Change-Id: Id7ee05ed4065dd4f0c12d283413e97092e95a15f
+---
+ vcl/inc/unx/saldisp.hxx | 9 ++
+ vcl/unx/generic/app/keysymnames.cxx | 248 +++--------------------------------
+ vcl/unx/generic/app/saldisp.cxx | 28 ++--
+ 3 files changed, 42 insertions(+), 243 deletions(-)
+
+diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx
+index 83bf9ea..150a100 100644
+--- a/vcl/inc/unx/saldisp.hxx
++++ b/vcl/inc/unx/saldisp.hxx
+@@ -474,6 +474,15 @@ namespace vcl_sal {
+ }
+
+
++
++// get foreign key names
++namespace vcl_sal {
++ rtl::OUString getKeysymReplacementName(
++ rtl::OUString pLang,
++ KeySym nSymbol );
++}
++
++
+ #endif // _SV_SALDISP_HXX
+
+ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/vcl/unx/generic/app/keysymnames.cxx b/vcl/unx/generic/app/keysymnames.cxx
+index fa1eafd..bc1d705 100644
+--- a/vcl/unx/generic/app/keysymnames.cxx
++++ b/vcl/unx/generic/app/keysymnames.cxx
+@@ -26,7 +26,6 @@
+ *
+ ************************************************************************/
+
+-
+ #if !defined(SOLARIS) && !defined(AIX)
+ #include <tools/prex.h>
+ #include <X11/XKBlib.h>
+@@ -50,19 +49,8 @@
+ #define SunXK_Cut 0x1005FF75
+ #endif
+
+-#ifdef SOLARIS
+-#include <sys/types.h>
+-#include <sys/ioctl.h>
+-#include <sys/kbio.h>
+-#include <sys/kbd.h>
+-#include <stdio.h>
+-#include <fcntl.h>
+-#include <deflt.h>
+-#include <unistd.h>
+-#include <stdlib.h>
+-#endif
+-
+ #include <string.h>
++#include <rtl/ustring.hxx>
+
+ namespace vcl_sal {
+
+@@ -74,7 +62,7 @@ namespace vcl_sal {
+
+ struct KeyboardReplacements
+ {
+- const char* pKeyboardName;
++ const char* pLangName;
+ const KeysymNameReplacement* pReplacements;
+ int nReplacements;
+ };
+@@ -340,243 +328,45 @@ namespace vcl_sal {
+
+ static const struct KeyboardReplacements aKeyboards[] =
+ {
+-#ifdef SOLARIS
+- { "Germany5", aImplReplacements_German, SAL_N_ELEMENTS(aImplReplacements_German) },
+- { "Germany4", aImplReplacements_German, SAL_N_ELEMENTS(aImplReplacements_German) },
+- { "France5", aImplReplacements_French, SAL_N_ELEMENTS(aImplReplacements_French) },
+- { "France6", aImplReplacements_French, SAL_N_ELEMENTS(aImplReplacements_French) },
+- { "France_x86", aImplReplacements_French, SAL_N_ELEMENTS(aImplReplacements_French) },
+- { "Italy5", aImplReplacements_Italian, SAL_N_ELEMENTS(aImplReplacements_Italian) },
+- { "Italy5-Hobo", aImplReplacements_Italian, SAL_N_ELEMENTS(aImplReplacements_Italian) },
+- { "Italy4", aImplReplacements_Italian, SAL_N_ELEMENTS(aImplReplacements_Italian) },
+- { "Italy6", aImplReplacements_Italian, SAL_N_ELEMENTS(aImplReplacements_Italian) },
+- { "Italy_x86", aImplReplacements_Italian, SAL_N_ELEMENTS(aImplReplacements_Italian) },
+- { "Netherland4", aImplReplacements_Dutch, SAL_N_ELEMENTS(aImplReplacements_Dutch) },
+- { "Netherland5", aImplReplacements_Dutch, SAL_N_ELEMENTS(aImplReplacements_Dutch) },
+- { "Netherland5-Hobo", aImplReplacements_Dutch, SAL_N_ELEMENTS(aImplReplacements_Dutch) },
+- { "Netherland6", aImplReplacements_Dutch, SAL_N_ELEMENTS(aImplReplacements_Dutch) },
+- { "Netherland_x86", aImplReplacements_Dutch, SAL_N_ELEMENTS(aImplReplacements_Dutch) },
+- { "Norway5", aImplReplacements_Norwegian, SAL_N_ELEMENTS(aImplReplacements_Norwegian) },
+- { "Norway5-Hobo", aImplReplacements_Norwegian, SAL_N_ELEMENTS(aImplReplacements_Norwegian) },
+- { "Norway4", aImplReplacements_Norwegian, SAL_N_ELEMENTS(aImplReplacements_Norwegian) },
+- { "Norway6", aImplReplacements_Norwegian, SAL_N_ELEMENTS(aImplReplacements_Norwegian) },
+- { "Norway_x86", aImplReplacements_Norwegian, SAL_N_ELEMENTS(aImplReplacements_Norwegian) },
+- { "Portugal5", aImplReplacements_Portuguese, SAL_N_ELEMENTS(aImplReplacements_Portuguese) },
+- { "Portugal5-Hobo", aImplReplacements_Portuguese, SAL_N_ELEMENTS(aImplReplacements_Portuguese) },
+- { "Portugal4", aImplReplacements_Portuguese, SAL_N_ELEMENTS(aImplReplacements_Portuguese) },
+- { "Portugal6", aImplReplacements_Portuguese, SAL_N_ELEMENTS(aImplReplacements_Portuguese) },
+- { "Portugal_x86", aImplReplacements_Portuguese, SAL_N_ELEMENTS(aImplReplacements_Portuguese) },
+- { "Spain5", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
+- { "Spain5-Hobo", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
+- { "Spain4", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
+- { "Spain6", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
+- { "Spain_x86", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
+- { "Sweden5", aImplReplacements_Swedish, SAL_N_ELEMENTS(aImplReplacements_Swedish) },
+- { "Sweden5-Hobo", aImplReplacements_Swedish, SAL_N_ELEMENTS(aImplReplacements_Swedish) },
+- { "Sweden4", aImplReplacements_Swedish, SAL_N_ELEMENTS(aImplReplacements_Swedish) },
+- { "Sweden6", aImplReplacements_Swedish, SAL_N_ELEMENTS(aImplReplacements_Swedish) },
+- { "Sweden_x86", aImplReplacements_Swedish, SAL_N_ELEMENTS(aImplReplacements_Swedish) },
+-#endif
+- { "U.S. English", aImplReplacements_English, SAL_N_ELEMENTS(aImplReplacements_English) },
+- { "United Kingdom", aImplReplacements_English, SAL_N_ELEMENTS(aImplReplacements_English) },
+- // Germany, German
+- { "German", aImplReplacements_German, SAL_N_ELEMENTS(aImplReplacements_German) },
+- { "France", aImplReplacements_French, SAL_N_ELEMENTS(aImplReplacements_French) },
+- { "French", aImplReplacements_French, SAL_N_ELEMENTS(aImplReplacements_French) },
+- // Italy, Italian
+- { "Ital", aImplReplacements_Italian, SAL_N_ELEMENTS(aImplReplacements_Italian) },
+- // Norway, Norwegian
+- { "Norw", aImplReplacements_Norwegian, SAL_N_ELEMENTS(aImplReplacements_Norwegian) },
+- // Portugal, Portuguese
+- { "Portu", aImplReplacements_Portuguese, SAL_N_ELEMENTS(aImplReplacements_Portuguese) },
+- { "Spain", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
+- { "Spanish", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
+- // Sweden, Swedish
+- { "Swed", aImplReplacements_Swedish, SAL_N_ELEMENTS(aImplReplacements_Swedish) },
+- { "Netherland", aImplReplacements_Dutch, SAL_N_ELEMENTS(aImplReplacements_Dutch) },
+- { "Dutch", aImplReplacements_Dutch, SAL_N_ELEMENTS(aImplReplacements_Dutch) },
+- // Turkish, Turkey
+- { "Turk", aImplReplacements_Turkish, SAL_N_ELEMENTS(aImplReplacements_Turkish) },
+- // Russian, Russia
+- { "Russia", aImplReplacements_Russian, SAL_N_ELEMENTS(aImplReplacements_Russian) },
+- { "English", aImplReplacements_English, SAL_N_ELEMENTS(aImplReplacements_English) }
++ { "de", aImplReplacements_German, SAL_N_ELEMENTS(aImplReplacements_German) },
++ { "es", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
++ { "fr", aImplReplacements_French, SAL_N_ELEMENTS(aImplReplacements_French) },
++ { "it", aImplReplacements_Italian, SAL_N_ELEMENTS(aImplReplacements_Italian) },
++ { "nl", aImplReplacements_Dutch, SAL_N_ELEMENTS(aImplReplacements_Dutch) },
++ { "no", aImplReplacements_Norwegian, SAL_N_ELEMENTS(aImplReplacements_Norwegian) },
++ { "pt", aImplReplacements_Portuguese, SAL_N_ELEMENTS(aImplReplacements_Portuguese) },
++ { "ru", aImplReplacements_Russian, SAL_N_ELEMENTS(aImplReplacements_Russian) },
++ { "sv", aImplReplacements_Swedish, SAL_N_ELEMENTS(aImplReplacements_Swedish) },
++ { "tr", aImplReplacements_Turkish, SAL_N_ELEMENTS(aImplReplacements_Turkish) },
+ };
+
+- rtl::OUString getKeysymReplacementName( const char* pKeyboard, KeySym nSymbol )
++ // translate keycodes, used within the displayed menu shortcuts
++ rtl::OUString getKeysymReplacementName( rtl::OUString pLang, KeySym nSymbol )
+ {
+ for( unsigned int n = 0; n < SAL_N_ELEMENTS(aKeyboards); n++ )
+ {
+- if( ! strncasecmp( pKeyboard, aKeyboards[n].pKeyboardName, strlen( aKeyboards[n].pKeyboardName ) ) )
++ if( pLang.equalsAscii( aKeyboards[n].pLangName ) )
+ {
+ const struct KeysymNameReplacement* pRepl = aKeyboards[n].pReplacements;
+ for( int m = aKeyboards[n].nReplacements ; m ; )
+ {
+ if( nSymbol == pRepl[--m].aSymbol )
+- return String( pRepl[m].pName, RTL_TEXTENCODING_UTF8 );
++ return rtl::OUString( pRepl[m].pName, strlen(pRepl[m].pName), RTL_TEXTENCODING_UTF8 );
+ }
+ }
+ }
++
+ // try english fallbacks
+ const struct KeysymNameReplacement* pRepl = aImplReplacements_English;
+ for( int m = SAL_N_ELEMENTS(aImplReplacements_English); m ; )
+ {
+ if( nSymbol == pRepl[--m].aSymbol )
+- return String( pRepl[m].pName, RTL_TEXTENCODING_UTF8 );
++ return rtl::OUString( pRepl[m].pName, strlen(pRepl[m].pName), RTL_TEXTENCODING_UTF8 );
+ }
++
+ return rtl::OUString();
+ }
+
+ }
+
+-#ifdef SOLARIS
+-typedef struct {
+- int n_layout;
+- const char* p_description;
+-} keyboard_layout;
+-
+-static const keyboard_layout type0_layout[] =
+-{
+- { 0, "US4" },
+- { -1, NULL }
+-};
+-
+-static const keyboard_layout type3_layout[] =
+-{
+- { 0, "US3" },
+- { -1, NULL }
+-};
+-
+-static const keyboard_layout type4_layout[] =
+-{
+- { 0, "US4" },
+- { 1, "US4" },
+- { 2, "FranceBelg4" },
+- { 3, "Canada4" },
+- { 4, "Denmark4" },
+- { 5, "Germany4" },
+- { 6, "Italy4" },
+- { 7, "Netherland4" },
+- { 8, "Norway4" },
+- { 9, "Portugal4" },
+- { 10, "SpainLatAm4" },
+- { 11, "SwedenFin4" },
+- { 12, "Switzer_Fr4" },
+- { 13, "Switzer_Ge4" },
+- { 14, "UK4" },
+- { 16, "Korea4" },
+- { 17, "Taiwan4" },
+- { 19, "US101A_PC" },
+- { 19, "US101A_Sun" },
+- { 32, "Japan4" },
+- { 33, "US5" },
+- { 34, "US_UNIX5" },
+- { 35, "France5" },
+- { 36, "Denmark5" },
+- { 37, "Germany5" },
+- { 38, "Italy5" },
+- { 39, "Netherland5" },
+- { 40, "Norway5" },
+- { 41, "Portugal5" },
+- { 42, "Spain5" },
+- { 43, "Sweden5" },
+- { 44, "Switzer_Fr5" },
+- { 45, "Switzer_Ge5" },
+- { 46, "UK5" },
+- { 47, "Korea5" },
+- { 48, "Taiwan5" },
+- { 49, "Japan5" },
+- { 50, "Canada_Fr5" },
+- { 51, "Hungary5" },
+- { 52, "Poland5" },
+- { 53, "Czech5" },
+- { 54, "Russia5" },
+- { 55, "Latvia5" },
+- { 56, "Turkey5" },
+- { 57, "Greece5" },
+- { 58, "Estonia5" },
+- { 59, "Lithuania5" },
+- { 63, "Canada_Fr5_TBITS5" },
+- { 80, "US5_Hobo" },
+- { 81, "US_UNIX5_Hobo" },
+- { 82, "France5_Hobo" },
+- { 83, "Denmark5_Hobo" },
+- { 84, "Germany5_Hobo" },
+- { 85, "Italy5_Hobo" },
+- { 86, "Netherland5_Hobo" },
+- { 87, "Norway5_Hobo" },
+- { 88, "Portugal5_Hobo" },
+- { 89, "Spain5_Hobo" },
+- { 90, "Sweden5_Hobo" },
+- { 91, "Switzer_Fr5_Hobo" },
+- { 92, "Switzer_Ge5_Hobo" },
+- { 93, "UK5_Hobo" },
+- { 94, "Korea5_Hobo" },
+- { 95, "Taiwan5_Hobo" },
+- { 96, "Japan5_Hobo" },
+- { 97, "Canada_Fr5_Hobo" },
+- { -1, NULL }
+-};
+-
+-static const keyboard_layout type101_layout[] =
+-{
+- { 0, "US101A_x86" },
+- { 1, "US101A_x86" },
+- { 34, "J3100_x86" },
+- { 35, "France_x86" },
+- { 36, "Denmark_x86" },
+- { 37, "Germany_x86" },
+- { 38, "Italy_x86" },
+- { 39, "Netherland_x86" },
+- { 40, "Norway_x86" },
+- { 41, "Portugal_x86" },
+- { 42, "Spain_x86" },
+- { 43, "Sweden_x86" },
+- { 44, "Switzer_Fr_x86" },
+- { 45, "Switzer_Ge_x86" },
+- { 46, "UK_x86" },
+- { 47, "Korea_x86" },
+- { 48, "Taiwan_x86" },
+- { 49, "Japan_x86" },
+- { 50, "Canada_Fr2_x86" },
+- { 51, "Hungary_x86" },
+- { 52, "Poland_x86" },
+- { 53, "Czech_x86" },
+- { 54, "Russia_x86" },
+- { 55, "Latvia_x86" },
+- { 56, "Turkey_x86" },
+- { 57, "Greece_x86" },
+- { 59, "Lithuania_x86" },
+- { 1001, "MS_US101A_x86" },
+- { -1, NULL }
+-};
+-
+-static const keyboard_layout type6_layout[] =
+-{
+- { 0, "US6" },
+- { 6, "Denmark6" },
+- { 7, "Finnish6" },
+- { 8, "France6" },
+- { 9, "Germany6" },
+- { 14, "Italy6" },
+- { 15, "Japan6" },
+- { 16, "Korea6" },
+- { 18, "Netherland6" },
+- { 19, "Norway6" },
+- { 22, "Portugal6" },
+- { 25, "Spain6" },
+- { 26, "Sweden6" },
+- { 27, "Switzer_Fr6" },
+- { 28, "Switzer_Ge6" },
+- { 30, "Taiwan6" },
+- { 32, "UK6" },
+- { 33, "US6" },
+- { -1, NULL }
+-};
+-#endif
+-
+-
+-#if OSL_DEBUG_LEVEL > 1
+-#include <stdio.h>
+-#endif
+-
+ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
+index 33f94b2..e2b05e2 100644
+--- a/vcl/unx/generic/app/saldisp.cxx
++++ b/vcl/unx/generic/app/saldisp.cxx
+@@ -70,6 +70,8 @@ Status XineramaGetInfo(Display*, int, XRectangle*, unsigned char*, int*);
+
+ #include <tools/postx.h>
+
++#include <vcl/svapp.hxx>
++
+ #include <unx/salunx.h>
+ #include <sal/types.h>
+ #include "unx/i18n_im.hxx"
+@@ -936,6 +939,7 @@ sal_uInt16 SalDisplay::GetIndicatorState() const
+
+ rtl::OUString SalDisplay::GetKeyNameFromKeySym( KeySym nKeySym ) const
+ {
++ rtl::OUString aLang = Application::GetSettings().GetUILocale().Language;
+ rtl::OUString aRet;
+
+ // return an empty string for keysyms that are not bound to
+@@ -947,20 +951,16 @@ rtl::OUString SalDisplay::GetKeyNameFromKeySym( KeySym nKeySym ) const
+ aRet = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "???" ) );
+ else
+ {
+- // lp#818761: removing the problematic call to GetKeyboardName() as
+- // getKeysymReplacementName only provides the name of the key named
+- // as given by the l10n of the _keyboard_ (not the locale) e.g. a
+- // german keyboard would name "Ctrl" instead as "Strg". Assuming
+- // this change to be safe as getKeysymReplacementName falls back to
+- // English names anyway.
+- // this code is completely removed on master/3.6 anyway, see
+- // commit 2233aa52da14ec85331aee1163b885fe9a9fb507
+- const char *pString = XKeysymToString( nKeySym );
+- int n = strlen( pString );
+- if( n > 2 && pString[n-2] == '_' )
+- aRet = rtl::OUString( pString, n-2, RTL_TEXTENCODING_ISO_8859_1 );
+- else
+- aRet = rtl::OUString( pString, n, RTL_TEXTENCODING_ISO_8859_1 );
++ aRet = ::vcl_sal::getKeysymReplacementName( aLang, nKeySym );
++ if( aRet.isEmpty() )
++ {
++ const char *pString = XKeysymToString( nKeySym );
++ int n = strlen( pString );
++ if( n > 2 && pString[n-2] == '_' )
++ aRet = rtl::OUString( pString, n-2, RTL_TEXTENCODING_ISO_8859_1 );
++ else
++ aRet = rtl::OUString( pString, n, RTL_TEXTENCODING_ISO_8859_1 );
++ }
+ }
+ }
+ return aRet;
+--
+1.7.10.3
+
--- /dev/null
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu
+index 6888448..c41aee6 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Custom/WikiExtension.xcu
+@@ -27,12 +27,12 @@
+ ************************************************************************ -->
+ <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="WikiExtension" oor:package="org.openoffice.Office.Custom">
+ <node oor:name="SpecialData">
+- <node oor:name="so-wiki.germany.sun.com" oor:op="fuse">
++ <node oor:name="so-wiki.germany.sun.com" oor:op="replace">
+ <prop oor:name="AllowUnknownCertificate">
+ <value>true</value>
+ </prop>
+ <node oor:name="AdditionalLoginArguments">
+- <node oor:name="wpDomain" oor:op="fuse">
++ <node oor:name="wpDomain" oor:op="replace">
+ <prop oor:name="Value">
+ <value>sun</value>
+ </prop>
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
+index 5ae52ce..ecc89d4 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
+@@ -27,9 +27,9 @@
+ ************************************************************************ -->
+ <oor:component-data oor:name="OptionsDialog" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry">
+ <node oor:name="Nodes">
+- <node oor:name="Internet" oor:op="fuse">
++ <node oor:name="Internet" oor:op="replace">
+ <node oor:name="Leaves">
+- <node oor:name="com.sun.star.wiki.options" oor:op="fuse">
++ <node oor:name="com.sun.star.wiki.options" oor:op="replace">
+ <prop oor:name="Id">
+ <value>com.sun.wiki-publisher</value>
+ </prop>
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu
+index e39bbc7..ab10cd7 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu
+@@ -27,9 +27,9 @@
+ ************************************************************************ -->
+ <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Paths" oor:package="org.openoffice.Office">
+ <node oor:name="Paths">
+- <node oor:name="Template" oor:op="fuse">
++ <node oor:name="Template" oor:op="replace">
+ <node oor:name="InternalPaths">
+- <node oor:name="%origin%/templates" oor:op="fuse"/>
++ <node oor:name="%origin%/templates" oor:op="replace"/>
+ </node>
+ </node>
+ </node>
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu
+index d0ddad5..9c8b6b3 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu
+@@ -28,7 +28,7 @@
+ <!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
+ <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Filter">
+ <node oor:name="Filters">
+- <node oor:name="MediaWiki" oor:op="fuse">
++ <node oor:name="MediaWiki" oor:op="replace">
+ <prop oor:name="FileFormatVersion"><value>0</value></prop>
+ <prop oor:name="Type"><value>MediaWiki</value></prop>
+ <prop oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop>
+@@ -40,7 +40,7 @@
+ </prop>
+ <prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
+ </node>
+- <node oor:name="MediaWiki_Web" oor:op="fuse">
++ <node oor:name="MediaWiki_Web" oor:op="replace">
+ <prop oor:name="FileFormatVersion"><value>0</value></prop>
+ <prop oor:name="Type"><value>MediaWiki</value></prop>
+ <prop oor:name="DocumentService"><value>com.sun.star.text.WebDocument</value></prop>
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu
+index 64031b8..e6739c9 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu
+@@ -28,7 +28,7 @@
+ <!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
+ <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Types">
+ <node oor:name="Types">
+- <node oor:name="MediaWiki" oor:op="fuse">
++ <node oor:name="MediaWiki" oor:op="replace">
+ <prop oor:name="DetectService"><value>com.sun.star.comp.filters.XMLFilterDetect</value></prop>
+ <prop oor:name="URLPattern"/>
+ <prop oor:name="Extensions"><value>txt</value></prop>
--- /dev/null
+Index: logit/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
+===================================================================
+--- logit.orig/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx 2011-11-22 20:57:46.000000000 +0000
++++ logit/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx 2011-11-24 14:35:39.204393946 +0000
+@@ -172,6 +172,9 @@
+ if (errcode == JFW_E_NO_JAVA_FOUND)
+ {
+ fprintf(stderr,"javaldx: Could not find a Java Runtime Environment! \n");
++ fprintf(stderr,"Please ensure that a JVM and the package libreoffice-java-common\n");
++ fprintf(stderr,"is installed.\n");
++ fprintf(stderr,"If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml\n");
+ return false;
+ }
+ else if (errcode != JFW_E_NONE && errcode != JFW_E_DIRECT_MODE)
+Index: logit/svtools/source/java/javainteractionhandler.cxx
+===================================================================
+--- logit.orig/svtools/source/java/javainteractionhandler.cxx 2011-11-22 20:57:46.000000000 +0000
++++ logit/svtools/source/java/javainteractionhandler.cxx 2011-11-24 14:42:13.836371593 +0000
+@@ -52,9 +52,10 @@
+ #include <svtools/javainteractionhandler.hxx>
+ #include <svtools/javacontext.hxx>
+
++#define DEFINE_CONST_UNICODE(CONSTASCII) UniString(RTL_CONSTASCII_USTRINGPARAM(CONSTASCII))
++
+ using namespace com::sun::star::uno;
+ using namespace com::sun::star::task;
+-
+ namespace svt
+ {
+
+@@ -156,6 +157,9 @@
+ WarningBox aWarningBox( NULL, SvtResId( WARNINGBOX_INVALIDJAVASETTINGS ) );
+ String aTitle( SvtResId(STR_WARNING_INVALIDJAVASETTINGS));
+ aWarningBox.SetText( aTitle );
++ String aText = String(aWarningBox.GetMessText());
++ aText.Append(DEFINE_CONST_UNICODE("\nPlease install the libreoffice-java-common package for this functionality."));
++ aWarningBox.SetMessText( aText );
+ nResult = aWarningBox.Execute();
+ }
+ else
+@@ -173,6 +177,9 @@
+ QueryBox aQueryBox( NULL, SvtResId( QBX_JAVADISABLED ) );
+ String aTitle( SvtResId( STR_QUESTION_JAVADISABLED ) );
+ aQueryBox.SetText( aTitle );
++ String aText = String(aQueryBox.GetMessText());
++ aText.Append(DEFINE_CONST_UNICODE("\nPlease install the libreoffice-java-common package for this functionality."));
++ aQueryBox.SetMessText( aText );
+ nResult = aQueryBox.Execute();
+ if ( nResult == RET_YES )
+ {
+@@ -215,6 +222,9 @@
+ ErrorBox aErrorBox(NULL, SvtResId( ERRORBOX_RESTARTREQUIRED ) );
+ String aTitle( SvtResId( STR_ERROR_RESTARTREQUIRED ) );
+ aErrorBox.SetText( aTitle );
++ String aText = String(aErrorBox.GetMessText());
++ aText.Append(DEFINE_CONST_UNICODE("\nPlease install the libreoffice-java-common package for this functionality."));
++ aErrorBox.SetMessText( aText );
+ nResult = aErrorBox.Execute();
+ }
+ else
--- /dev/null
+From 9441e2a015d38968592508782c4041dab5af1bda Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon@redhat.com>
+Date: Tue, 31 Jan 2012 09:40:57 +0100
+Subject: [PATCH] move binfilter mime types into extra .desktop file
+
+---
+ scp2/source/ooo/common_brand.scp | 9 +++++++++
+ sysui/desktop/freedesktop/freedesktop-menus.spec | 1 +
+ sysui/desktop/menus/binfilter.desktop | 9 +++++++++
+ sysui/desktop/menus/calc.desktop | 2 +-
+ sysui/desktop/menus/draw.desktop | 2 +-
+ sysui/desktop/menus/impress.desktop | 2 +-
+ sysui/desktop/menus/math.desktop | 2 +-
+ sysui/desktop/menus/writer.desktop | 2 +-
+ sysui/desktop/share/launcher_genericname.ulf | 3 +++
+ sysui/desktop/share/makefile.mk | 7 ++++---
+ sysui/desktop/suse/suse-menus.spec | 1 +
+ 11 files changed, 32 insertions(+), 8 deletions(-)
+ create mode 100644 sysui/desktop/menus/binfilter.desktop
+
+diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp
+index 6c6fb66..9893a60 100644
+--- a/scp2/source/ooo/common_brand.scp
++++ b/scp2/source/ooo/common_brand.scp
+@@ -87,6 +87,7 @@ Module gid_Module_Root_Brand
+ gid_Brand_File_Share_Registry_O5oo_Xcd,
+ gid_Brand_File_Script_Unopkg,
+ gid_Brand_File_Share_Xdg_Base,
++ gid_Brand_File_Share_Xdg_BinFilter,
+ gid_Brand_File_Share_Xdg_Calc,
+ gid_Brand_File_Share_Xdg_Draw,
+ gid_Brand_File_Share_Xdg_Extension,
+@@ -781,6 +782,14 @@ File gid_Brand_File_Share_Xdg_JavaFilter
+ End
+ #endif
+
++#if defined UNX && ! defined MACOSX
++File gid_Brand_File_Share_Xdg_BinFilter
++ TXT_FILE_BODY;
++ Dir = gid_Brand_Dir_Share_Xdg;
++ Name = "binfilter.desktop";
++ Styles = (PACKED,SCPZIP_REPLACE);
++End
++#endif
+
+ // Profiles
+
+diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec
+index d4efca5..78a33ae 100755
+--- a/sysui/desktop/freedesktop/freedesktop-menus.spec
++++ b/sysui/desktop/freedesktop/freedesktop-menus.spec
+@@ -386,6 +386,7 @@ done
+ /usr/share/applications/%unixfilename-writer.desktop
+ /usr/share/applications/%unixfilename-startcenter.desktop
+ /usr/share/applications/%unixfilename-javafilter.desktop
++/usr/share/applications/%unixfilename-binfilter.desktop
+ /usr/share/icons/gnome/*/apps/*png
+ /usr/share/icons/gnome/*/mimetypes/*png
+ /usr/share/icons/hicolor/*/apps/*png
+diff --git a/sysui/desktop/menus/binfilter.desktop b/sysui/desktop/menus/binfilter.desktop
+new file mode 100644
+index 0000000..bfad37f
+--- /dev/null
++++ b/sysui/desktop/menus/binfilter.desktop
+@@ -0,0 +1,9 @@
++[Desktop Entry]
++Version=1.0
++Terminal=false
++Type=Application
++Exec=${UNIXBASISROOTNAME} %U
++MimeType=application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/vnd.stardivision.draw;application/vnd.stardivision.impress;application/vnd.stardivision.math;application/vnd.stardivision.writer;
++Name=%PRODUCTNAME Legacy StarOffice 5 Binary Format Importer
++GenericName=Legacy StarOffice 5 Binary Format Importer
++NoDisplay=true
+diff --git a/sysui/desktop/menus/calc.desktop b/sysui/desktop/menus/calc.desktop
+index 696385a..c8899cd 100755
+--- a/sysui/desktop/menus/calc.desktop
++++ b/sysui/desktop/menus/calc.desktop
+@@ -5,7 +5,7 @@ Icon=calc
+ Type=Application
+ Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Spreadsheets;
+ Exec=${UNIXBASISROOTNAME} --calc %U
+-MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;application/x-dbf;text/spreadsheet;
++MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/msexcel;application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;application/x-dbf;text/spreadsheet;
+ Name=%PRODUCTNAME Calc
+ GenericName=Spreadsheet
+ Comment=Perform calculations, analyze information and manage lists in spreadsheets by using Calc.
+diff --git a/sysui/desktop/menus/draw.desktop b/sysui/desktop/menus/draw.desktop
+index 96234c6..67ad422 100755
+--- a/sysui/desktop/menus/draw.desktop
++++ b/sysui/desktop/menus/draw.desktop
+@@ -5,7 +5,7 @@ Icon=draw
+ Type=Application
+ Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Drawing;
+ Exec=${UNIXBASISROOTNAME} --draw %U
+-MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;application/vnd.stardivision.draw;
++MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;
+ Name=%PRODUCTNAME Draw
+ GenericName=Drawing Program
+ Comment=Create and edit drawings, flow charts, and logos by using Draw.
+diff --git a/sysui/desktop/menus/impress.desktop b/sysui/desktop/menus/impress.desktop
+index 92060e3..91c937a 100755
+--- a/sysui/desktop/menus/impress.desktop
++++ b/sysui/desktop/menus/impress.desktop
+@@ -5,7 +5,7 @@ Icon=impress
+ Type=Application
+ Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Presentations;
+ Exec=${UNIXBASISROOTNAME} --impress %U
+-MimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-flat-xml;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/vnd.stardivision.impress;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;
++MimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-flat-xml;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;
+ Name=%PRODUCTNAME Impress
+ GenericName=Presentation
+ Comment=Create and edit presentations for slideshows, meeting and Web pages by using Impress.
+diff --git a/sysui/desktop/menus/math.desktop b/sysui/desktop/menus/math.desktop
+index 61bade6..23e2d87 100755
+--- a/sysui/desktop/menus/math.desktop
++++ b/sysui/desktop/menus/math.desktop
+@@ -6,7 +6,7 @@ Icon=math
+ Type=Application
+ Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Other;
+ Exec=${UNIXBASISROOTNAME} --math %U
+-MimeType=application/vnd.oasis.opendocument.formula;application/vnd.sun.xml.math;application/vnd.stardivision.math;
++MimeType=application/vnd.oasis.opendocument.formula;application/vnd.sun.xml.math;
+ Name=%PRODUCTNAME Math
+ GenericName=Formula Editor
+ Comment=Create and edit scientific formulas and equations by using Math.
+diff --git a/sysui/desktop/menus/writer.desktop b/sysui/desktop/menus/writer.desktop
+index 625df59..0db0d05 100755
+--- a/sysui/desktop/menus/writer.desktop
++++ b/sysui/desktop/menus/writer.desktop
+@@ -5,7 +5,7 @@ Icon=writer
+ Type=Application
+ Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Wordprocessors;
+ Exec=${UNIXBASISROOTNAME} --writer %U
+-MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-flat-xml;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/vnd.stardivision.writer;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;
++MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-flat-xml;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;
+ Name=%PRODUCTNAME Writer
+ GenericName=Word Processor
+ Comment=Create and edit text and graphics in letters, reports, documents and Web pages by using Writer.
+diff --git a/sysui/desktop/share/launcher_genericname.ulf b/sysui/desktop/share/launcher_genericname.ulf
+index ff8041a..6130e0b 100755
+--- a/sysui/desktop/share/launcher_genericname.ulf
++++ b/sysui/desktop/share/launcher_genericname.ulf
+@@ -21,3 +21,6 @@ en-US = "Office"
+
+ [javafilter]
+ en-US = "Small Device Format Importer"
++
++[binfilter]
++en-US = "Legacy StarOffice 5 Binary Format Importer"
+diff --git a/sysui/desktop/share/makefile.mk b/sysui/desktop/share/makefile.mk
+index f6a34b1..f6b4dfa 100755
+--- a/sysui/desktop/share/makefile.mk
++++ b/sysui/desktop/share/makefile.mk
+@@ -52,7 +52,8 @@ ULFFILES= \
+ launcher_genericname.ulf \
+ launcher_name.ulf
+
+-LAUNCHERLIST = writer calc draw impress math base printeradmin qstart startcenter javafilter
++LAUNCHERLIST_APPS = writer calc draw impress math base printeradmin startcenter
++LAUNCHERLIST = $(LAUNCHERLIST_APPS) qstart javafilter binfilter
+ LAUNCHERDEPN = ../menus/{$(LAUNCHERLIST)}.desktop
+
+ LAUNCHERFLAGFILE = $(COMMONMISC)/$(TARGET)/xdg.flag
+@@ -126,9 +127,9 @@ MIMEICONLIST = \
+ extension
+
+ ICONDEPN = \
+- ../icons/hicolor/{16x16 32x32 48x48}/apps/{$(LAUNCHERLIST:s/qstart//:s/javafilter//)}.png \
++ ../icons/hicolor/{16x16 32x32 48x48}/apps/{$(LAUNCHERLIST_APPS)}.png \
+ ../icons/hicolor/{16x16 32x32 48x48}/mimetypes/{$(MIMEICONLIST)}.png \
+- ../icons/locolor/{16x16 32x32}/apps/{$(LAUNCHERLIST:s/qstart//:s/javafilter//)}.png \
++ ../icons/locolor/{16x16 32x32}/apps/{$(LAUNCHERLIST_APPS)}.png \
+ ../icons/locolor/{16x16 32x32}/mimetypes/{$(MIMEICONLIST)}.png
+
+ # --- Targets ------------------------------------------------------
+diff --git a/sysui/desktop/suse/suse-menus.spec b/sysui/desktop/suse/suse-menus.spec
+index ea5ae31..74b67e6 100755
+--- a/sysui/desktop/suse/suse-menus.spec
++++ b/sysui/desktop/suse/suse-menus.spec
+@@ -357,6 +357,7 @@ done
+ /usr/share/applications/%unixfilename-printeradmin.desktop
+ /usr/share/applications/%unixfilename-startcenter.desktop
+ /usr/share/applications/%unixfilename-javafilter.desktop
++/usr/share/applications/%unixfilename-binfilter.desktop
+ /opt/gnome/share/mime-info/*.keys
+ /opt/gnome/share/mime-info/*.mime
+ /opt/kde3/share/mimelnk/application/*.desktop
+--
+1.7.7.5
+
--- /dev/null
+diff --git a/mysqlcppconn/mysql-connector-c++-1.1.0.patch b/mysqlcppconn/mysql-connector-c++-1.1.0.patch
+index 9d9a8ad..b8cccf7 100644
+--- a/mysqlcppconn/mysql-connector-c++-1.1.0.patch
++++ b/mysqlcppconn/mysql-connector-c++-1.1.0.patch
+@@ -114,7 +114,7 @@
+ NonScrollableException(const std::string& reason) : SQLException(reason, "", 0) {}
+ --- misc/mysql-connector-c++-1.1.0/driver/makefile.mk 2009-09-11 09:42:34.087202551 +0200
+ +++ misc/build/mysql-connector-c++-1.1.0/driver/makefile.mk 2009-09-11 09:42:25.902286382 +0200
+-@@ -1 +1,64 @@
++@@ -1 +1,66 @@
+ -dummy
+ +PRJ=..$/..$/..$/..$/..
+ +
+@@ -167,6 +167,8 @@
+ + $(LIB1TARGET)
+ +DEFLIB1NAME=$(TARGET)
+ +
+++CFLAGS += -DLIBMYSQLCLIENT_SONAME=\"$(shell readlink -f `mysql_config --variable=pkglibdir`/libmysqlclient_r.so | sed -e s/mysqlclient/mysqlclient_r/ | sed -e "s,`mysql_config --variable=pkglibdir`/\(libmysqlclient_r.so.[0-9][0-9]\).*,\\1,")\"
+++
+ +# --- Targets ------------------------------------------------------
+ +
+ +.INCLUDE : target.mk
+@@ -235,3 +235,15 @@
+ +
+ +# --- Targets ------------------------------------------------------
+ +.INCLUDE : target.mk
++diff -urNad mysql-connector-c++-1.0.6~r754~/driver/nativeapi/libmysql_dynamic_proxy.cpp mysql-connector-c++-1.0.6~r754/driver/nativeapi/libmysql_dynamic_proxy.cpp
++--- misc/mysql-connector-c++-1.1.0/driver/nativeapi/libmysql_dynamic_proxy.cpp 2009-08-20 16:42:14.000000000 +0200
+++++ misc/build/mysql-connector-c++-1.1.0/driver/nativeapi/libmysql_dynamic_proxy.cpp 2009-08-20 20:25:31.000000000 +0200
++@@ -26,7 +26,7 @@
++ #elif defined(__APPLE__)
++ static const char * const baseName = "libmysqlclient_r.dylib";
++ #else
++-static const char * const baseName = "libmysqlclient_r.so";
+++static const char * const baseName = LIBMYSQLCLIENT_SONAME;
++ #endif
++
++ template<typename FunctionType>
--- /dev/null
+--- libreoffice-3.5.0/solenv/inc/unxlngppc64.mk
++++ libreoffice-3.5.0/solenv/inc/unxlngppc64.mk
+@@ -30,5 +30,4 @@
+ .INCLUDE : unxlngppc.mk
+
+ CDEFS+=-DPOWERPC64
+-CFLAGSCXX+=-mminimal-toc
+ BUILD64=1
+
--- /dev/null
+From 07fc748fb1b242859913df178a0c41dc95a9f3e7 Mon Sep 17 00:00:00 2001
+From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+Date: Wed, 21 Dec 2011 22:29:02 +0100
+Subject: [PATCH] propagate gb_FULLDEPS
+
+---
+ solenv/gbuild/source_and_rerun.mk | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/solenv/gbuild/source_and_rerun.mk b/solenv/gbuild/source_and_rerun.mk
+index a2aaea0..27de233 100644
+--- a/solenv/gbuild/source_and_rerun.mk
++++ b/solenv/gbuild/source_and_rerun.mk
+@@ -2,7 +2,7 @@
+ gb_MAKEFILEDIR:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
+
+ define gb_SourceEnvAndRecurse_recurse
+-$(MAKE) -f $(firstword $(MAKEFILE_LIST)) -j $${GMAKE_PARALLELISM} $(1) gb_SourceEnvAndRecurse_STAGE=$(2)
++$(MAKE) -f $(firstword $(MAKEFILE_LIST)) -j $${GMAKE_PARALLELISM} $(1) gb_SourceEnvAndRecurse_STAGE=$(2) gb_FULLDEPS=$(gb_FULLDEPS)
+ endef
+
+ ifneq ($(strip $(gb_PARTIALBUILD)),)
+--
+1.7.5.4
+
--- /dev/null
+From 6b1d19a3242353d84afeec1f0a798a95c851459d Mon Sep 17 00:00:00 2001
+From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+Date: Tue, 21 Feb 2012 13:43:04 +0100
+Subject: [PATCH] pythonloader.uno.so, libpyuno and pyuno are duplicates for
+ linkoo too
+
+---
+ solenv/bin/linkoo | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/solenv/bin/linkoo b/solenv/bin/linkoo
+index 06a103d..450da5a 100755
+--- a/solenv/bin/linkoo
++++ b/solenv/bin/linkoo
+@@ -136,7 +136,7 @@ my %replaceable = (
+
+ my @search_dirs = ( 'lib', 'bin', 'class' );
+
+-my @known_duplicates = ( 'db.jar', 'libi18n', 'libnssckbi', 'libnssdbm', 'libsqlite3', 'libnssutil3' );
++my @known_duplicates = ( 'db.jar', 'libi18n', 'libnssckbi', 'libnssdbm', 'libsqlite3', 'libnssutil3', 'pythonloader.uno', 'pyuno', 'libpyuno' );
+
+ sub sniff_target($)
+ {
+--
+1.7.5.4
+
--- /dev/null
+diff --git a/dbaccess/source/ui/misc/dbumiscres.src b/dbaccess/source/ui/misc/dbumiscres.src
+index 974b36e..2f42c27 100644
+--- a/dbaccess/source/ui/misc/dbumiscres.src
++++ b/dbaccess/source/ui/misc/dbumiscres.src
+@@ -96,5 +96,5 @@ String STR_NAMED_OBJECT_ALREADY_EXISTS
+ String RID_STR_EXTENSION_NOT_PRESENT
+ {
+ // #i96130# use hard coded name
+- Text [ en-US ] = "The report, \"$file$\", requires the extension Oracle Report Builder.";
++ Text [ en-US ] = "The report, \"$file$\", requires the extension Oracle Report Builder. For this, install the package 'libreoffice-report-builder'.";
+ };
--- /dev/null
+diff --git a/configure.in b/configure.in
+index 6037452..2251d85 100644
+--- libreoffice-3.5.0/configure.in
++++ libreoffice-3.5.0/configure.in
+@@ -7507,6 +7508,7 @@ AC_MSG_CHECKING([whether to build extension for support of scripts in JavaScript
+ if test "x$enable_ext_scripting_javascript" = "xyes" -a "x$enable_extension_integration" != "xno" -a "x$with_java" != "xno"; then
+ AC_MSG_RESULT([yes])
+ ENABLE_SCRIPTING_JAVASCRIPT=YES
++ BUILD_TYPE="$BUILD_TYPE RHINO"
+ else
+ AC_MSG_RESULT([no])
+ ENABLE_SCRIPTING_JAVASCRIPT=NO
+diff --git a/scripting/Module_scripting.mk b/scripting/Module_scripting.mk
+index b926b07..67f8a71 100644
+--- libreoffice-3.5.0/scripting/Module_scripting.mk
++++ libreoffice-3.5.0/scripting/Module_scripting.mk
+@@ -54,7 +55,8 @@ $(eval $(call gb_Module_add_targets,scripting,\
+ Pyuno_mailmerge \
+ Zip_scriptbindinglib \
+ Zip_ScriptsBeanShell \
+- Zip_ScriptsJavaScript \
++ $(if $(filter $(ENABLE_SCRIPTING_JAVASCRIPT),YES),\
++ Zip_ScriptsJavaScript) \
+ Zip_ScriptsPython \
+ ))
+
+diff --git a/scripting/prj/build.lst b/scripting/prj/build.lst
+index 2bd4c61..f874898 100644
+--- libreoffice-3.5.0/scripting/prj/build.lst
++++ libreoffice-3.5.0/scripting/prj/build.lst
+@@ -1,2 +1,2 @@
+-tc scripting : filter oovbaapi vbahelper bridges DESKTOP:rdbmaker vcl xmlscript basic sfx2 rhino BSH:beanshell javaunohelper LIBXSLT:libxslt NULL
++tc scripting : filter oovbaapi vbahelper bridges DESKTOP:rdbmaker vcl xmlscript basic sfx2 RHINO:rhino BSH:beanshell javaunohelper LIBXSLT:libxslt NULL
+ tc scripting\prj nmake - all tc1_prj NULL
+--- libreoffice-3.5.0/scp2/source/ooo/file_ooo.scp
++++ libreoffice-3.5.0/scp2/source/ooo/file_ooo.scp
+@@ -701,13 +701,15 @@ File gid_File_Scripts_Java
+ ARCHIVE_TXT_FILE_BODY;
+ Name = "ScriptsJava.zip";
+ End
+-#endif
+
++#ifndef WITHOUT_EXTENSION_SCRIPTING_JAVASCRIPT
+ File gid_File_Scripts_Javascript
+ Dir = gid_Dir_Share_Scripts;
+ ARCHIVE_TXT_FILE_BODY;
+ Name = "ScriptsJavaScript.zip";
+ End
++#endif
++#endif
+
+ // new user interface configuration files
+ File gid_File_Share_Config_Sofficecfg_uiconfig_Zip
+--- libreoffice-3.5.0/tail_build/prj/build.lst-old 2011-10-20 22:44:37.000000000 +0000
++++ libreoffice-3.5.0/tail_build/prj/build.lst 2011-10-20 22:44:49.000000000 +0000
+@@ -1,2 +1,2 @@
+-tb tail_build : APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost DESKTOP:l10ntools LIBXML2:libxml2 LIBXMLSEC:libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio LPSOLVE:lpsolve MDDS:mdds NEON:neon NSS:nss OPENSSL:openssl PYTHON:python REDLAND:redland SAXON:saxon TRANSLATIONS:translations XPDF:xpdf avmedia basegfx basic bridges canvas comphelper configmgr connectivity cppcanvas cppu cppuhelper DESKTOP:fpicker javaunohelper jurt jvmaccess offapi officecfg oovbaapi QADEVOOO:qadevOOo DESKTOP:rdbmaker readlicense_oo rhino ridljar sal sax sfx2 solenv soltools sot stoc svtools svx sysui test toolkit tools ucbhelper udkapi unoil unotools ure vcl xmlhelp xmloff xmlscript xsltml NULL
++tb tail_build : APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost DESKTOP:l10ntools LIBXML2:libxml2 LIBXMLSEC:libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio LPSOLVE:lpsolve MDDS:mdds NEON:neon NSS:nss OPENSSL:openssl PYTHON:python REDLAND:redland SAXON:saxon TRANSLATIONS:translations XPDF:xpdf avmedia basegfx basic bridges canvas comphelper configmgr connectivity cppcanvas cppu cppuhelper DESKTOP:fpicker javaunohelper jurt jvmaccess offapi officecfg oovbaapi QADEVOOO:qadevOOo DESKTOP:rdbmaker readlicense_oo RHINO:rhino ridljar sal sax sfx2 solenv soltools sot stoc svtools svx sysui test toolkit tools ucbhelper udkapi unoil unotools ure vcl xmlhelp xmloff xmlscript xsltml NULL
+ tb tail_build\prj nmake - all tb_prj NULL
--- /dev/null
+diff --git a/vcl/inc/impimagetree.hxx b/vcl/inc/impimagetree.hxx
+index 41c4f56..93d80f1 100644
+--- a/vcl/inc/impimagetree.hxx
++++ b/vcl/inc/impimagetree.hxx
+@@ -85,6 +85,10 @@ private:
+ typedef boost::unordered_map<
+ rtl::OUString, std::pair< bool, BitmapEx >, rtl::OUStringHash > IconCache;
+
++ // we want to search zip files (icons) also in /usr/share/
++ ::rtl::OUString m_datadir; // /usr/share/
++ ::rtl::OUString m_libdir; // /usr/lib or /usr/lib64
++
+ rtl::OUString m_style;
+ Zips m_zips;
+ CheckStyleCache m_checkStyleCache;
+@@ -92,6 +96,7 @@ private:
+
+ void setStyle(rtl::OUString const & style );
+
++ void addUrlToZips(const rtl::OUString &url);
+ void resetZips();
+
+ bool checkStyleCacheLookup( rtl::OUString const & style, bool &exists );
+diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx
+index 03442fc..cfe6c45 100644
+--- a/vcl/source/gdi/impimagetree.cxx
++++ b/vcl/source/gdi/impimagetree.cxx
+@@ -121,7 +121,11 @@ void loadFromStream(
+
+ }
+
+-ImplImageTree::ImplImageTree() {}
++ImplImageTree::ImplImageTree()
++{
++ m_datadir = ::rtl::OUString::createFromAscii ( "/usr/share/" );
++ m_libdir = ::rtl::OUString::createFromAscii ( "/usr/lib/" );
++}
+
+ ImplImageTree::~ImplImageTree() {}
+
+@@ -259,6 +263,22 @@ void ImplImageTree::setStyle(rtl::OUString const & style) {
+ }
+ }
+
++void ImplImageTree::addUrlToZips(const rtl::OUString &url) {
++ if ( url.getLength() == 0 )
++ return;
++ m_zips.push_back(
++ std::make_pair(
++ url,
++ css::uno::Reference< css::container::XNameAccess >()));
++ sal_Int32 nLibDirPos = url.indexOf( m_libdir );
++ if ( nLibDirPos >= 0 ) {
++ m_zips.push_back(
++ std::make_pair(
++ url.replaceAt( nLibDirPos, m_libdir.getLength(), m_datadir ),
++ css::uno::Reference< css::container::XNameAccess >()));
++ }
++}
++
+ void ImplImageTree::resetZips() {
+ m_zips.clear();
+ {
+@@ -284,19 +304,14 @@ void ImplImageTree::resetZips() {
+ b.appendAscii(RTL_CONSTASCII_STRINGPARAM("_brand.zip"));
+ bool ok = u.Append(b.makeStringAndClear(), INetURLObject::ENCODE_ALL);
+ OSL_ASSERT(ok); (void) ok;
+- m_zips.push_back(
+- std::make_pair(
+- u.GetMainURL(INetURLObject::NO_DECODE),
+- css::uno::Reference< css::container::XNameAccess >()));
++ addUrlToZips(u.GetMainURL(INetURLObject::NO_DECODE));
+ }
+ {
+ rtl::OUString url(
+ RTL_CONSTASCII_USTRINGPARAM(
+ "$BRAND_BASE_DIR/share/config/images_brand.zip"));
+ rtl::Bootstrap::expandMacros(url);
+- m_zips.push_back(
+- std::make_pair(
+- url, css::uno::Reference< css::container::XNameAccess >()));
++ addUrlToZips(url);
+ }
+ {
+ rtl::OUString url(
+@@ -310,10 +325,7 @@ void ImplImageTree::resetZips() {
+ b.appendAscii(RTL_CONSTASCII_STRINGPARAM(".zip"));
+ bool ok = u.Append(b.makeStringAndClear(), INetURLObject::ENCODE_ALL);
+ OSL_ASSERT(ok); (void) ok;
+- m_zips.push_back(
+- std::make_pair(
+- u.GetMainURL(INetURLObject::NO_DECODE),
+- css::uno::Reference< css::container::XNameAccess >()));
++ addUrlToZips(u.GetMainURL(INetURLObject::NO_DECODE));
+ }
+ if ( m_style.equals(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("default"))) )
+ {
+@@ -321,9 +333,7 @@ void ImplImageTree::resetZips() {
+ RTL_CONSTASCII_USTRINGPARAM(
+ "$BRAND_BASE_DIR/share/config/images.zip"));
+ rtl::Bootstrap::expandMacros(url);
+- m_zips.push_back(
+- std::make_pair(
+- url, css::uno::Reference< css::container::XNameAccess >()));
++ addUrlToZips(url);
+ }
+ }
+
+diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx
+index e55fe5d..848bed7 100644
+--- a/xmlhelp/source/cxxhelp/provider/provider.cxx
++++ b/xmlhelp/source/cxxhelp/provider/provider.cxx
+@@ -335,7 +335,7 @@ void ContentProvider::init()
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( " " )) +
+ setupextension );
+
+- uno::Sequence< rtl::OUString > aImagesZipPaths( 2 );
++ uno::Sequence< rtl::OUString > aImagesZipPaths( 3 );
+ xHierAccess = getHierAccess( sProvider, "org.openoffice.Office.Common" );
+
+ rtl::OUString aPath( getKey( xHierAccess, "Path/Current/UserConfig" ) );
+@@ -344,6 +344,15 @@ void ContentProvider::init()
+
+ aPath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
+ rtl::Bootstrap::expandMacros(aPath);
++ aImagesZipPaths[ 2 ] = aPath;
++
++ // try also /usr/share and even before /usr/lib
++ ::rtl::OUString aDataDir = ::rtl::OUString::createFromAscii ( "/usr/share/" );
++ ::rtl::OUString aLibDir = ::rtl::OUString::createFromAscii ( "/usr/lib/" );
++ sal_Int32 nLibDirPos = aPath.indexOf( aLibDir );
++
++ if ( nLibDirPos >= 0 )
++ aPath = aPath.replaceAt( nLibDirPos, aLibDir.getLength(), aDataDir );
+ aImagesZipPaths[ 1 ] = aPath;
+
+ uno::Reference< uno::XComponentContext > xContext;
--- /dev/null
+Index: logit/shell/source/unix/misc/gnome-open-url.sh
+===================================================================
+--- logit.orig/shell/source/unix/misc/gnome-open-url.sh 2011-11-22 20:57:46.000000000 +0000
++++ logit/shell/source/unix/misc/gnome-open-url.sh 2011-11-24 16:47:51.199972037 +0000
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+
+ # use xdg-open or gnome-open if available
+-xdg-open "$1" 2>/dev/null || gnome-open "$1" 2>/dev/null || "$0.bin" $1
++xdg-open "$1" 2>/dev/null || gnome-open "$1" 2>/dev/null || sensible-browser "$1" || "$0.bin" $1
+
+ exit 0
+Index: logit/shell/source/unix/misc/kde-open-url.sh
+===================================================================
+--- logit.orig/shell/source/unix/misc/kde-open-url.sh 2011-11-22 20:57:46.000000000 +0000
++++ logit/shell/source/unix/misc/kde-open-url.sh 2011-11-24 16:47:51.199972037 +0000
+@@ -2,9 +2,13 @@
+
+ # special handling for mailto: uris
+ if echo $1 | grep '^mailto:' > /dev/null; then
+- kmailservice "$1" &
++ if which kde-open; then
++ kde-open "$1" &
++ else
++ mailservice "$1" &
++ fi
+ else
+- kfmclient openURL "$1" &
++ sensible-browser "$1" &
+ fi
+
+ exit 0
--- /dev/null
+Index: logit/officecfg/registry/data/org/openoffice/Office/Common.xcu
+===================================================================
+--- logit.orig/officecfg/registry/data/org/openoffice/Office/Common.xcu 2011-11-22 20:57:46.000000000 +0000
++++ logit/officecfg/registry/data/org/openoffice/Office/Common.xcu 2011-11-24 16:31:09.504024867 +0000
+@@ -659,8 +659,7 @@
+ </node>
+ <node oor:name="ExternalMailer" install:module="unixdesktop">
+ <prop oor:name="Program">
+- <value oor:external=
+- "com.sun.star.configuration.backend.DesktopBackend ExternalMailer"/>
++ <value>sensible-lomua</value>
+ </prop>
+ </node>
+ <node oor:name="Font">
+Index: logit/shell/source/unix/misc/senddoc.sh
+===================================================================
+--- logit.orig/shell/source/unix/misc/senddoc.sh 2011-11-22 20:57:46.000000000 +0000
++++ logit/shell/source/unix/misc/senddoc.sh 2011-11-24 16:30:30.276027576 +0000
+@@ -59,6 +59,25 @@
+ shift
+ fi
+
++case `basename "$MAILER"` in
++ sensible-lomua)
++ if [ -n "$GNOME_DESKTOP_SESSION_ID" -a -x /usr/bin/evolution ]; then
++ MAILER=/usr/bin/evolution
++ elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kmail ]; then
++ MAILER=/usr/bin/kmail
++ elif [ -x /usr/bin/evolution ]; then
++ # default
++ MAILER=/usr/bin/evolution
++ elif [ -x /usr/bin/icedove ]; then
++ # fallback
++ MAILER=/usr/bin/icedove
++ elif [ -x /usr/bin/thunderbird ]; then
++ # fallback
++ MAILER=/usr/bin/thunderbird
++ fi
++ ;;
++esac
++
+ # autodetect mail client from executable name
+ case `basename "$MAILER" | sed 's/-.*$//'` in
+
--- /dev/null
+no-minimaltoc.diff
+debian-opt.diff
+gcj-safe-jni-h-include.diff
+jurt-soffice-location.diff
+split-binfilters-and-evo.diff
+debian-debug.diff
+rhino-build-optional.diff
+disable-dynamic-list-cpp.diff
+fix-system-lpsolve-build.diff
+install-fixes.diff
+smoketest-only-en-US.diff
+mention-java-common-package.diff
+help-msg-add-package-info.diff
+sensible-lomua.diff
+sensible-browser.diff
+reportdesign-mention-package.diff
+jdbc-driver-classpaths.diff
+mysqlcppconn-libmysqlclient-SONAME.diff
+make-pyuno-work-with-system-wide-module-install.diff
+search-usr-share-for-images.diff
+make-package-modules-not-suck.diff
+fix-ARM-detection-in-set-soenv.diff
+propagate-gb_FULLDEPS.diff
+disable-unoapi-subsequentcheck-for-now.diff
+mediwiki-oor-replace.diff
+move-binfilter-mimetypes-in-extra-desktop-file.diff
+pythonloader.uno.so-libpyuno-and-pyuno-are-duplicate.diff
+debian-hardened-buildflags.diff
+gtk3-hack-explicit-gmodule.diff
+gcc-4.7.diff
+gcc-4.7-i386.diff
+gcc-4.7-amd64.diff
+jdk7.diff
+lp-926940-visio-mime-for-draw.diff
+gcc-4.4.diff
+lp-904212-add-missing-mimetypes-to-impress.desktop.diff
+ignore-sc_cellrangesbase-fails.diff
+fix-Test-BigPtrArray-on-64bit-bigendian.diff
+yyinput-fix-for-unsigned-char.diff
+fix-signed-char-mess.diff
+make-shortcuts-in-menus-localized-again.diff
+fix-legacy-report-opening.diff
+evolution-3.4.diff
+CVE-2012-2334-clip-max-entries.diff
+CVE-2012-2665.diff
+CVE-2012-2665-binfilter.diff
--- /dev/null
+--- smoketest/data/Test_Ext.xml 2012-02-01 13:56:49.000000000 +0100
++++ smoketest/data/Test_Ext.xml 2012-02-20 20:15:23.000000000 +0100
+@@ -28,10 +28,6 @@
+ <!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
+ <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Test_Ext" script:language="StarBasic">REM ***** BASIC *****
+
+-const cMessageExtensionService = "Extension Service"
+-const cMessageExtensionInstall = "Install Extension"
+-const cMessageExtensionUninstall = "Uninstall Extension"
+-
+ Sub TestExtensions
+ Dim oTestExtension as Object, obj_null as Object
+ Dim sCurrentMessage as String
+@@ -37,9 +37,6 @@
+ Dim sCurrentMessage as String
+ Dim bResult as Boolean
+ Dim sImplementationNameString as String
+- sImplementationNameString = cUnoSmoketestTestExtension + "$_TestExtension"
+-
+- On Local Error GoTo EXTERROR
+
+ gCurrentTestCase = cLogfileFailed
+ LocalTestLog% = OpenLogDat (GetLogFileName(gCurrentDocTest))
+@@ -44,73 +40,5 @@
+ gCurrentTestCase = cLogfileFailed
+ LocalTestLog% = OpenLogDat (GetLogFileName(gCurrentDocTest))
+
+- sCurrentMessage = cMessageExtensionService
+- gCurrentTestCase = cEXTService
+-
+- 'Create an implementation of com.sun.star.ucb.XCommandEnvironment which is needed for
+- 'adding the extension. The implementation is in
+- 'javaunohelper/com/sun/star/comp/juhtest/SmoketestCommandEnvironment.java and the code is in juh.jar
+- cmdEnv = createUnoService(cUnoSmoketestCommandEnvironment)
+-
+- 'Create the component context and then get the singleton ExtensionManager
+- 'A singleton cannot be created with createUnoService
+- ctx = getDefaultContext
+- ext_mgr = ctx.getValueByName("/singletons/" + cExtensionManager)
+-
+- LogTestResult( "Extension "+ cMessageExtensionService, not IsNull (ext_mgr) )
+- if (IsNull(ext_mgr)) then
+- Close #LocalTestLog%
+- LocalTestLog = 0
+- Exit Sub
+- End If
+-
+- sCurrentMessage = cMessageExtensionInstall
+- gCurrentTestCase = cEXTInstall
+-
+- 'Add the extension. We must provide a file URL here.
+- 'By passing "user" we determine that the actions we perform on
+- 'XExtensionManager only affect the user installation. To modify the share installation one would pass "share".
+-
+- Dim props() as Object
+- ext_mgr.addExtension(sExtensionURL + cExtensionFileName, props, "user", obj_null, cmdEnv)
+-
+- 'Check if the extension has been added by creating a service which is contained in the extension.
+- oTestExtension = createUnoService(cUnoSmoketestTestExtension)
+- bResult = (oTestExtension.getImplementationName = sImplementationNameString)
+- LogTestResult( "Extension "+ cMessageExtensionInstall, bResult )
+- if (not bResult) then
+- Close #LocalTestLog%
+- LocalTestLog = 0
+- Exit Sub
+- End If
+-
+- sCurrentMessage = cMessageExtensionUninstall
+- gCurrentTestCase = cEXTUninstall
+-
+- 'Remove the package
+- ext_mgr.removeExtension("org.openoffice.legacy." + cExtensionFileName, cExtensionFileName, "user",obj_null, cmdEnv)
+-
+- 'Try to create the service which is contained in the now removed extension.
+- oTestExtension = createUnoService(cUnoSmoketestTestExtension)
+-
+- 'The service must not be available anymore. Therefor isNull must return true.
+- LogTestResult( "Extension "+ cMessageExtensionUninstall, IsNull (oTestExtension) )
+-
+- Print #LocalTestLog, "---"
+- Close #LocalTestLog%
+- LocalTestLog = 0
+- Exit Sub ' Without error
+-
+- EXTERROR:
+- If ( gCurrentTestCase = cLogfileFailed ) then
+- LogTestResult( " ", False )
+- Exit Sub
+- else
+- LogTestResult( "Extension "+ sCurrentMessage, False )
+- Close #LocalTestLog%
+- LocalTestLog = 0
+- End If
+- Exit Sub ' With error
+-
+ End Sub
+ </script:module>
--- /dev/null
+diff --git a/smoketestoo_native/makefile.mk b/smoketestoo_native/makefile.mk
+index cd80184..8e43c40 100755
+--- libreoffice-3.5.0/smoketestoo_native/makefile.mk
++++ libreoffice-3.5.0/smoketestoo_native/makefile.mk
+@@ -65,6 +65,6 @@ my_linkoo = -l
+ localinstall :
+ $(RM) -r $(installationtest_instpath)
+ $(MKDIRHIER) $(installationtest_instpath)
+- ooinstall $(my_linkoo) $(installationtest_instpath)/opt
++ export WITH_LANG=en-US; ooinstall $(my_linkoo) $(installationtest_instpath)/opt
+ cpptest : localinstall
+ .END
--- /dev/null
+--- libreoffice-3.5.0/postprocess/packcomponents/makefile.mk-old 2011-06-13 23:35:26.000000000 +0000
++++ libreoffice-3.5.0/postprocess/packcomponents/makefile.mk 2011-06-13 23:35:58.000000000 +0000
+@@ -269,12 +265,6 @@
+ component/wizards/com/sun/star/wizards/web/web
+ .END
+
+-.IF "$(WITH_BINFILTER)" != "NO"
+-my_components += \
+- bf_migratefilter \
+- bindet
+-.END
+-
+ .IF "$(WITH_LDAP)" == "YES"
+ my_components += ldapbe2
+ .END
+@@ -355,10 +345,6 @@
+ my_components += cmdmail
+ .END
+
+-.IF "$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != ""
+-my_components += evoab
+-.END
+-
+ .IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != ""
+ my_components += component/avmedia/source/gstreamer/avmediagstreamer
+ .END
+@@ -394,3 +404,50 @@
+ '<list><filename>component/scripting/java/ScriptProviderForJavaScript.component</filename></list>' \
+ > $@
+ .END
++
++.IF "$(WITH_BINFILTER)" == "YES"
++ALLTAR: $(MISC)/bf_migratefilter.rdb $(MISC)/bindet.rdb
++
++$(MISC)/bf_migratefilter.rdb .ERRREMOVE : \
++ $(SOLARENV)/bin/packcomponents.xslt \
++ $(MISC)/bf_migratefilter.input \
++ $(SOLARXMLDIR)/bf_migratefilter.component
++ $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
++ $(SOLARENV)/bin/packcomponents.xslt \
++ $(MISC)/bf_migratefilter.input
++
++$(MISC)/bindet.rdb .ERRREMOVE : \
++ $(SOLARENV)/bin/packcomponents.xslt \
++ $(MISC)/bindet.input \
++ $(SOLARXMLDIR)/bindet.component
++ $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
++ $(SOLARENV)/bin/packcomponents.xslt \
++ $(MISC)/bindet.input
++
++$(MISC)/bf_migratefilter.input : makefile.mk
++ echo \
++ '<list><filename>bf_migratefilter.component</filename></list>' \
++ > $@
++
++$(MISC)/bindet.input : makefile.mk
++ echo \
++ '<list><filename>bindet.component</filename></list>' \
++ > $@
++.END
++
++.IF "$(ENABLE_EVOAB2)" == "YES"
++ALLTAR : $(MISC)/evoab.rdb
++
++$(MISC)/evoab.rdb .ERRREMOVE : \
++ $(SOLARENV)/bin/packcomponents.xslt \
++ $(MISC)/evoab.input \
++ $(SOLARXMLDIR)/evoab.component
++ $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
++ $(SOLARENV)/bin/packcomponents.xslt \
++ $(MISC)/evoab.input
++
++$(MISC)/evoab.input : makefile.mk
++ echo \
++ '<list><filename>evoab.component</filename></list>' \
++ > $@
++.END
+--- libreoffice-3.5.0/postprocess/packregistry/makefile.mk-old 2011-12-20 04:49:53.000000000 +0100
++++ libreoffice-3.5.0/postprocess/packregistry/makefile.mk 2011-12-20 04:52:13.000000000 +0100
+@@ -40,6 +40,7 @@
+ $(MISC)/ctl.xcd \
+ $(MISC)/ctlseqcheck.xcd \
+ $(MISC)/draw.xcd \
++ $(MISC)/evoab.xcd \
+ $(MISC)/graphicfilter.xcd \
+ $(MISC)/impress.xcd \
+ $(MISC)/korea.xcd \
+@@ -317,8 +318,8 @@
+ ERROR : unknown-GUIBASE
+ .END
+ .IF "$(ENABLE_EVOAB2)" == "TRUE"
+-MY_FILES_main += $(MY_MOD)/DataAccess/evoab2.xcu
+-MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu
++MY_FILES_evoab += $(MY_MOD)/DataAccess/evoab2.xcu
++MY_FILES_evoab += $(MY_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu
+ .END
+ .IF "$(SOLAR_JAVA)" == "TRUE"
+ MY_FILES_main += \
+--- libreoffice-3.5.0/postprocess/prj/d.lst-old 2011-12-20 11:39:36.000000000 +0000
++++ libreoffice-3.5.0/postprocess/prj/d.lst 2011-12-20 11:40:07.000000000 +0000
+@@ -4,4 +4,7 @@
+ ..\%__SRC%\misc\lang\*.xcd %_DEST%\xml\
+ ..\%__SRC%\misc\scriptproviderforbeanshell.rdb %_DEST%\xml\scriptproviderforbeanshell.rdb
+ ..\%__SRC%\misc\scriptproviderforjavascript.rdb %_DEST%\xml\scriptproviderforjavascript.rdb
++..\%__SRC%\misc\bf_migratefilter.rdb %_DEST%\xml\bf_migratefilter.rdb
++..\%__SRC%\misc\bindet.rdb %_DEST%\xml\bindet.rdb
++..\%__SRC%\misc\evoab.rdb %_DEST%\xml\evoab.rdb
+ ..\%__SRC%\misc\services.rdb %_DEST%\xml\services.rdb
+--- libreoffice-3.5.0/scp2/source/ooo/file_library_ooo.scp-old 2011-12-20 05:11:44.000000000 +0100
++++ libreoffice-3.5.0/scp2/source/ooo/file_library_ooo.scp 2011-12-20 05:12:07.000000000 +0100
+@@ -446,6 +446,13 @@
+
+ STD_LIB_FILE( gid_File_Lib_Evoab , evoab)
+
++File gid_File_Share_Registry_Evoab_Xcd
++ TXT_FILE_BODY;
++ Styles = (PACKED);
++ Dir = gid_Brand_Dir_Share_Registry;
++ Name = "evoab.xcd";
++End
++
+ #endif // #ifdef ENABLE_EVOAB2
+
+ #endif // #ifdef UNX
+--- libreoffice-3.5.0/scp2/source/gnome/module_gnome.scp-old 2011-12-20 05:15:16.000000000 +0100
++++ libreoffice-3.5.0/scp2/source/gnome/module_gnome.scp 2011-12-20 05:15:30.000000000 +0100
+@@ -42,6 +42,7 @@
+ #endif
+ Files = (
+ gid_File_Lib_Evoab,
++ gid_File_Share_Registry_Evoab_Xcd,
+ gid_File_Lib_Fps_Gnome,
+ gid_File_Lib_Vclplug_Gtk,
+ #ifdef ENABLE_GTK3
+diff -u binfilter-old/file_binfilter.scp binfilter/file_binfilter.scp
+--- libreoffice-3.5.0/scp2/source/binfilter/file_binfilter.scp 2011-12-06 14:02:07.000000000 +0000
++++ libreoffice-3.5.0/scp2/source/binfilter/file_binfilter.scp 2011-12-20 10:16:46.000000000 +0000
+@@ -42,7 +42,19 @@
+ Styles = (PACKED);
+ End
+
++File gid_File_Rdb_Bf_Migratefilter
++ TXT_FILE_BODY;
++ Name = "bf_migratefilter.rdb";
++ Dir = gid_Brand_Dir_Program_Services;
++ Styles = (PACKED);
++End
+
++File gid_File_Rdb_Bindet
++ TXT_FILE_BODY;
++ Name = "bindet.rdb";
++ Dir = gid_Brand_Dir_Program_Services;
++ Styles = (PACKED);
++End
+
+ STD_LIB_FILE( gid_File_Lib_Bf_Go, bf_go)
+ STD_LIB_FILE( gid_File_Lib_Bf_Sch, bf_sch)
+diff -u binfilter-old/module_binfilter.scp binfilter/module_binfilter.scp
+--- libreoffice-3.5.0/scp2/source/binfilter/module_binfilter.scp 2011-12-06 14:02:07.000000000 +0000
++++ libreoffice-3.5.0/scp2/source/binfilter/module_binfilter.scp 2011-12-20 10:17:56.000000000 +0000
+@@ -53,7 +53,9 @@
+ gid_File_Lib_Bf_Wrapper,
+ gid_File_Lib_Legacy_Binfilters,
+ gid_File_Lib_Bf_Migratefilter,
++ gid_File_Rdb_Bf_Migratefilter,
+ gid_File_Lib_Bindet,
++ gid_File_Rdb_Bindet,
+ gid_File_Res_Bf_Sch,
+ gid_File_Res_Bf_Svx,
+ gid_File_Res_Bf_Svt,
--- /dev/null
+From 6b3bf27cb56d661725ac3fcfb756562e0ad75564 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
+Date: Mon, 14 May 2012 14:00:59 +0100
+Subject: [PATCH] ppc: yyinput returns a int, truncating to (unsigned)char
+ does't work
+
+retain this as an int so that on platforms where char is unsigned
+we don't mangle the value and get this all wrong.
+
+Fixes database opening tables on ppc if -fsigned-char is removed
+
+Change-Id: I66f0c6b1b19191595f8b348377579f2daabf7ada
+---
+ connectivity/source/parse/sqlflex.l | 18 +++++++++---------
+ 1 files changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l
+index d5b2f14..fd27cb8 100755
+--- a/connectivity/source/parse/sqlflex.l
++++ b/connectivity/source/parse/sqlflex.l
+@@ -76,7 +76,7 @@ using namespace connectivity;
+
+ static ::rtl::OUString aEmptyString;
+
+-static sal_Int32 gatherString(sal_Int32 delim, sal_Int32 nTyp);
++static sal_Int32 gatherString(int delim, sal_Int32 nTyp);
+ static sal_Int32 gatherName(const sal_Char*);
+ static sal_Int32 gatherNamePre(const sal_Char* );
+ // has to be set before the parser starts
+@@ -94,8 +94,8 @@ OSQLScanner* xxx_pGLOBAL_SQLSCAN = NULL;
+
+ #define YY_INPUT(buf,result,max_size) \
+ { \
+- buf[0] = xxx_pGLOBAL_SQLSCAN->SQLyygetc(); \
+- result = buf[0] != -1; \
++ int c = xxx_pGLOBAL_SQLSCAN->SQLyygetc(); \
++ result = (c == EOF) ? YY_NULL : (buf[0] = c, 1);\
+ }
+
+ #define YY_FATAL_ERROR(msg) \
+@@ -518,9 +518,9 @@ inline bool checkeof(int c) { return c == 0 || c == EOF; }
+ * nTyp == 1 -> SQL_NODE_STRING
+ * nTyp == 2 -> SQL_NODE_ACCESS_DATE
+ */
+-sal_Int32 gatherString( sal_Int32 delim, sal_Int32 nTyp)
++sal_Int32 gatherString(int delim, sal_Int32 nTyp)
+ {
+- sal_Char ch;
++ int ch;
+ ::rtl::OStringBuffer sBuffer(256);
+
+ while (!checkeof(ch = yyinput()))
+@@ -547,7 +547,7 @@ sal_Int32 gatherString( sal_Int32 delim, sal_Int32 nTyp)
+ }
+ else
+ {
+- sBuffer.append(ch);
++ sBuffer.append(static_cast<sal_Char>(ch));
+ }
+
+ }
+@@ -555,7 +555,7 @@ sal_Int32 gatherString( sal_Int32 delim, sal_Int32 nTyp)
+ break;
+ else
+ {
+- sBuffer.append(ch);
++ sBuffer.append(static_cast<sal_Char>(ch));
+ }
+ }
+ YY_FATAL_ERROR("Unterminated name string");
+@@ -746,7 +746,7 @@ void OSQLScanner::SQLyyerror(sal_Char *fmt)
+
+ sal_Char *s = Buffer;
+ sal_Int32 nPos = 1;
+- sal_Int32 ch = SQLyytext ? (SQLyytext[0] == 0 ? ' ' : SQLyytext[0]): ' ';
++ int ch = SQLyytext ? (SQLyytext[0] == 0 ? ' ' : SQLyytext[0]): ' ';
+ *s++ = ch;
+ while (!checkeof(ch = yyinput()))
+ {
+@@ -800,7 +800,7 @@ void OSQLScanner::prepareScan(const ::rtl::OUString & rNewStatement, const IPars
+ //------------------------------------------------------------------------------
+ sal_Int32 OSQLScanner::SQLyygetc(void)
+ {
+- sal_Int32 nPos = (m_nCurrentPos >= m_sStatement.getLength()) ? -1 : m_sStatement.getStr()[m_nCurrentPos];
++ sal_Int32 nPos = (m_nCurrentPos >= m_sStatement.getLength()) ? EOF : m_sStatement.getStr()[m_nCurrentPos];
+ m_nCurrentPos++;
+ return nPos;
+ }
+--
+1.7.7.6
+
--- /dev/null
+libreoffice (1:3.5.2-2) unstable; urgency=low
+
+ * The script provider for python (which was in python-uno before) has been
+ split out into libreoffice-script-provider-python as it's the same in both
+ variants and python-uno should contain just the module anyway.
+
+ If you relied on python-uno for the script provider, install the new
+ package in addition.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 07 Apr 2012 14:30:41 +0200
+
--- /dev/null
+python-uno: binary-or-shlib-defines-rpath
+python-uno: description-starts-with-package-name
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ if dpkg --compare-versions "$2" lt "1:3.5.2-2"; then
+ rm -rf /usr/lib/libreoffice/share/extensions/script-provider-for-python
+ sync_extensions
+ fi
+fi
+
+#DEBHELPER#
+
--- /dev/null
+libreoffice (1:3.5.2-2) unstable; urgency=low
+
+ * The script provider for python (which was in python3-uno before) has been
+ split out into libreoffice-script-provider-python as it's the same in both
+ variants and python3-uno should contain just the module anyway.
+
+ If you relied on python3-uno for the script provider, install the new
+ package in addition.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 07 Apr 2012 14:30:41 +0200
+
--- /dev/null
+#!/bin/bash
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ]; then
+ if dpkg --compare-versions "$2" lt "1:3.5.2-2"; then
+ rm -rf /usr/lib/libreoffice/share/extensions/script-provider-for-python
+ sync_extensions
+ fi
+fi
+
+#DEBHELPER#
+
--- /dev/null
+#!/usr/bin/make -f
+################################################################################
+# LibreOffice source package rules file
+#
+# Please see debian/README for detailed documentation about the build system, and
+# how to build LibreOffice.
+################################################################################
+# Authors:
+# Chris Halls <halls@debian.org>
+# Rene Engelhard <rene@debian.org>
+# Copyright 2002-2011 Software in the Public Interest, Inc.
+# Portions Copyright 2010 Canonical Ltd. Author: Matthias Klose
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+################################################################################
+
+vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
+
+include /usr/share/dpkg/pkg-info.mk
+CURDIR ?= $(realpath $(dir $(firstword $(MAKEFILE_LIST)))/..)
+BASE_VERSION:=$(shell echo $(DEB_VERSION) | cut -d: -f1):$(DEB_VERSION_UPSTREAM)
+BINARY_VERSION=$(DEB_VERSION)
+#HELP_L10N_VIRTUAL_VERSION:=$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d: -f2 | tr [~] [\\-])
+HELP_L10N_VIRTUAL_VERSION:=3.5
+#VER:=3
+OOVER:=3.5
+NEXT_OOVER:=$(shell echo "$(OOVER) + 0.1" | bc)
+
+ARCH_INDEP_PACKAGES := $(shell dh_listpackages -i)
+ARCH_DEP_PACKAGES := $(shell dh_listpackages -s)
+PACKAGES := $(ARCH_INDEP_PACKAGES) $(ARCH_DEP_PACKAGES)
+
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/vendor.mk
+DISTREL := $(shell lsb_release -cs)
+SHELL:=/bin/bash
+
+SYSTEM_GCC_VERSION = $(shell gcc --version | sed -n '/^gcc/s/.*\(.\..\)\..$$/\1/p')
+
+# Debian buildds run as user `buildd', other are using /CurrentlyBuilding
+ON_BUILDD := $(shell if [ "`whoami`" = buildd -o -f /CurrentlyBuilding ] || echo $(CURDIR) | grep -q \/build\/buildd; then echo y; else echo n; fi)
+
+PKGDIR:=debian/libreoffice$(VER)
+OODIRNAME=libreoffice$(VER)
+OODIR:=usr/lib/$(OODIRNAME)
+OOUREDIR:=usr/lib/ure
+OOSDKDIR:=$(OODIR)/sdk
+
+# Figure out who's building this package.
+OOO_VENDOR:=The Document Foundation/Debian
+ifeq "$(DEB_VENDOR)" "Ubuntu"
+OOO_VENDOR=The Document Foundation, Debian and Ubuntu
+endif
+export OOO_VENDOR
+
+# debhelper
+export DH_OPTIONS
+export DH_ALWAYS_EXCLUDE=CVS:.svn:.bzr:.git
+#export DH_VERBOSE=1
+# quilt
+export QUILT_PATCHES=debian/patches
+export QUILT_OPTIONS="-p1 -F0"
+
+SOURCE_TREE=.
+STAMP_DIR=debian/stampdir
+TARFILE_LOCATION=$(CURDIR)/src
+export TARFILE_LOCATION
+USE_SOURCE_TARBALLS=y
+USE_GIT_TARBALLS=n
+ifeq "$(USE_GIT_TARBALLS)" "y"
+GIT_BASEURL:=git://anongit.freedesktop.org/libreoffice
+lo_sources_ver=3.5.4.2
+# NOT in proper libreoffice-3-5 branch
+# use ./g checkout -b tag-libreoffice-3.5.4.2 libreoffice-3.5.4.2
+GIT_TAG=libreoffice-$(lo_sources_ver)
+GIT_BRANCH=tag-libreoffice-$(lo_sources_ver)
+endif
+ifeq "$(USE_SOURCE_TARBALLS)" "y"
+lo_sources_ver=$(shell cat $(CURDIR)/sources.ver | cut -d= -f2)
+endif
+
+ifeq "$(DISTREL)" "squeeze"
+ SQUEEZE_BACKPORT=y
+endif
+
+#########
+# Default package configuration
+#
+OOO_ARCHS = alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
+PATCHSET=$(DEB_VENDOR)
+BUILD_DEPS=
+
+# These are components which can be built from internal copies, or used from the
+# distribution. See configure --help for valid values (--with-system-<value>).
+SYSTEM_STUFF = dicts
+
+BUILD_PYUNO=y
+ENABLE_PYTHON3=y
+ifeq "$(BUILD_PYUNO)" "y"
+ ENABLE_SCRIPT_PROVIDER_PYTHON=y
+endif
+# THIS IS ONLY FOR TESTING. When building against a specified pythonX.Y
+# this will work inside OOo but *not* from outside OOo unless the user
+# uses pythonX.Y directly (and the dh_pycentral-created dependencies allow
+# also the non-working default python then) - see e.g. #587402. Also
+# note we are NOT working with python < 2.6 anymore!
+PYTHON_VERSION=current
+ifeq "$(PYTHON_VERSION)" "current"
+ PYTHON=python (>= 2.6)
+export PYTHON=python
+else
+ PYTHON=python$(PYTHON_VERSION)
+export PYTHON=python$(PYTHON_VERSION)
+endif
+ifeq "$(ENABLE_PYTHON3)" "y"
+ PYTHON3_VERSION=current
+ ifeq "$(PYTHON3_VERSION)" "current"
+ PYTHON3=python3
+ else
+ PYTHON3=python$(PYTHON3_VERSION)
+ endif
+endif
+PACKAGE_TTF_OPENSYMBOL=y
+BUILD_BINFILTERS=y
+BUILD_ONLY_EN_US=n
+ENABLE_JAVA=y
+ifeq "$(ENABLE_JAVA)" "y"
+ JDK=openjdk
+ JAVA_MAINVER=6
+ ifneq (,$(filter hppa kfreebsd%, $(DEB_HOST_ARCH)))
+ JDK=gcj-jdk
+ endif
+endif
+JAVAHELPER_MIN_VERSION= (>= 0.37~)
+SYSTEM_STUFF += hunspell
+HUNSPELL_MIN_VER= (>= 1.1.5-2)
+SYSTEM_STUFF += altlinuxhyph
+USE_LIBHYPHEN=y
+LIBALTLINUXHYPH_MINVER= (>= 0.1.1-11)
+LIBHYPHEN_MINVER= (>= 2.4)
+SYSTEM_STUFF += boost
+BOOST_VERSION=default
+ifeq "$(BOOST_VERSION)" "default"
+ BOOST_MINVER= (>= 1.38)
+endif
+ifeq "$(BOOST_VERSION)" "1.39"
+ BOOST_MINVER= (>= 1.39.0-2)
+endif
+SYSTEM_STUFF += mdds
+SYSTEM_STUFF += vigra
+USE_EXTERNAL_CXXLIBS=y
+#SYSTEM_STUFF += sablot
+SYSTEM_STUFF += mythes
+SYSTEM_STUFF += icu
+ICU_MINVER= (>= 4.0)
+SYSTEM_STUFF += libwpd libwpg libwps
+SYSTEM_STUFF += libvisio
+#SYSTEM_STUFF += xmlsec
+BUILD_CAIROCANVAS=y
+SYSTEM_STUFF += cairo
+CAIRO_FONTS_PATCH=y
+BUILD_KDE=y
+# not ported to KDE 4
+ENABLE_KDEAB=n
+ifeq "$(SYSTEM_GCC_VERSION)" "4.7"
+# < 4.8 fails with gcc 4.7, see #667911
+QT_MINVER= (>= 4:4.8)
+else
+QT_MINVER= (>= 4:4.5)
+endif
+KDELIBS_MINVER= (>= 4:4.3.4)
+BUILD_DBG_PACKAGE=y
+ifeq "$(BUILD_DBG_PACKAGE)" "y"
+ ENABLE_SYMBOLS=y
+ SMALL_SYMBOLS=y
+endif
+ifeq "$(ENABLE_JAVA)" "y"
+ # NOTE: If you change this while gcj/ant multiarch combo is still broken
+ # you need to disable bsh scripting engine completely (see disable-rhino.diff)
+ # See http://lists.debian.org/debian-java/2011/06/msg00108.html and replies
+ SYSTEM_STUFF += beanshell
+ SYSTEM_STUFF += hsqldb
+ HSQLDB_MINVER= (>> 1.8.0.10)
+ HSQLDB_TOONEWVER=1.8.1
+ # disabled because system-saxon breaks all kinds exports using XSLT transforms
+ # (e.g. M$ Word/Excel 2003 XML, Mediawiki, XHTML, UOF, ...)
+ # It does *NOT* fail with _plain_ saxon 9.0.0.8 built with OOos build.xml
+ # for UOF, but still for e.g. M$.
+ #SYSTEM_STUFF += saxon
+ SYSTEM_STUFF += lucene
+endif
+SYSTEM_STUFF += lpsolve
+USE_SHARED_LPSOLVE=y
+LPSOLVE_MIN_VERSION= (>= 5.5.0.13-5+b1)
+USE_DBUS=y
+USE_GSTREAMER=y
+SYSTEM_STUFF += neon
+NEON_SECTYPE=gnutls
+NEONSONR=27
+SYSTEM_STUFF += redland
+PACKAGE_SDK=y
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(JDK)" "openjdk"
+ RUN_MAKE_CHECK=y
+ ENABLE_JUNIT4=y
+ endif
+else
+ RUN_MAKE_CHECK=n
+ ENABLE_JUNIT4=n
+endif
+ifeq "$(ENABLE_JUNIT4)" "y"
+ JUNIT_MIN_VER= (>= 4.8.2-2)
+endif
+USE_LIBCURL4=y
+CURL_SECTYPE=gnutls
+USE_SYSTEM_DMAKE=y
+USE_LIBSUITESPARSE=y
+SUITESPARSE_MIN_VERSION= (>= 1:3.4.0)
+PARALLEL_BUILD=y
+ENABLE_LDAP=y
+USE_OPENLDAP=y
+ENABLE_OPENGL=y
+SYSTEM_STUFF += openssl
+NEW_DPKG_SHLIBDEPS=y
+ifeq "$(ENABLE_JAVA)" "y"
+ ENABLE_REPORTDESIGN=y
+ SYSTEM_STUFF += jfreereport
+ ENABLE_MEDIAWIKI=y
+ SYSTEM_STUFF += apache-commons
+ ENABLE_SCRIPT_PROVIDER_BSH=y
+ ENABLE_SCRIPT_PROVIDER_JS=y
+else
+ ENABLE_REPORTDESIGN=n
+ ENABLE_MEDIAWIKI=n
+ ENABLE_SCRIPT_PROVIDER_BSH=n
+ ENABLE_SCRIPT_PROVIDER_JS=n
+endif
+ENABLE_SDBC_POSTGRESQL=y
+ENABLE_MINIMIZER=y
+ENABLE_PRESENTER_CONSOLE=y
+ENABLE_PDFIMPORT=y
+BUILD_GTK=y
+#ifeq "$(DEB_DISTRIBUTION)" "experimental"
+BUILD_GTK3=y
+#endif
+ENABLE_EVO2=y
+ENABLE_GVFS=n
+ENABLE_GCONF=y
+ENABLE_GIO=y
+ENABLE_RANDR=y
+ifeq "$(BUILD_GTK)" "y"
+ PACKAGE_NSPLUGIN=n
+ ifeq "$(PACKAGE_NSPLUGIN)" "y"
+ SYSTEM_STUFF += mozilla-headers
+ endif
+endif
+PACKAGE_BASE=y
+ENABLE_GRAPHITE=y
+SYSTEM_STUFF += graphite
+ALLOC=system
+SYSTEM_STUFF += libexttextcat
+SYSTEM_STUFF += cppunit
+ENABLE_LIBRSVG=y
+SYSTEM_LIBRSVG=y
+# when we have a package we want to have to be installed on older things with some older
+# C++ ABI (like it was the case with libreoffice2), we need to set this. Don't touch
+# otherwise
+SYSTEM_STUFF += stdlibs
+DEFAULT_IMAGE=galaxy
+IMAGES:=$(DEFAULT_IMAGE) crystal hicontrast tango oxygen
+ENABLE_MYSQLNATIVE=y
+# cannot be disabled, unless you have a internal MySQL/PostgreSQL somewhere :-)
+SYSTEM_STUFF += mysql mysql-cppconn
+MYSQLCPPCONN_MINVER= (>= 1.1.0~r791)
+SYSTEM_STUFF += postgresql
+DICT_DIR=/usr/share/hunspell
+HYPH_DIR=/usr/share/hyphen
+THES_DIR=/usr/share/mythes
+SYSTEM_STUFF += libcmis
+SYSTEM_STUFF += jpeg
+SYSTEM_STUFF += libxml
+SYSTEM_STUFF += expat
+SYSTEM_STUFF += odbc
+SYSTEM_STUFF += curl
+SYSTEM_STUFF += sane
+SYSTEM_STUFF += xextensions-headers
+SYSTEM_STUFF += mesa-headers
+SYSTEM_STUFF += db
+SYSTEM_STUFF += poppler
+SYSTEM_STUFF += libpng
+SYSTEM_STUFF += nss
+SYSTEM_STUFF += sampleicc
+PACKAGE_UNOWINREG_DLL=y
+ifeq "$(DEB_VENDOR)" "Debian"
+BUILD_UNOWINREG_DLL=y
+endif
+
+# Default flags to pass to configure
+CONFIGURE_FLAGS= \
+ --with-vendor='$(OOO_VENDOR)' \
+ --with-install-dirname=$(OODIRNAME) \
+ --prefix=/usr --mandir=/usr/share/man \
+ --docdir=/usr/share/doc/libreoffice \
+ --disable-strip-solver \
+ --enable-lockdown \
+ --libdir=/usr/lib \
+ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ --enable-extension-integration \
+ --disable-online-update \
+ --disable-fetch-external \
+ --enable-release-build \
+ --without-fonts \
+ --without-myspell-dicts
+
+ifneq ($(ON_BUILDD),y)
+CONFIGURE_FLAGS += --enable-verbose
+endif
+
+CONFIGURE_FLAGS += --with-alloc=$(ALLOC)
+
+#############
+# Architecture-specific changes
+
+# helper to generate no_archs macros (pass name of source macro)
+define gen_no_archs
+ _no_arch_macro = $(subst OOO_,OOO_NO_,$1)
+ _no_arch_tmp_$1 = $$(foreach _a,$$(filter-out $$(call $1),$(OOO_ARCHS)),!$$(_a))
+ $$(_no_arch_macro) = $$(if $$(_no_arch_tmp_$1),$$(_empty) [$$(_no_arch_tmp_$1)])
+endef
+
+PLATFORMID := $(shell grep PLATFORMID debian/vars.$(DEB_HOST_ARCH) | cut -d"=" -f2)
+
+# ./configure defaults to STLport on i386 and we should keep it for
+# ABI-compatability
+OOO_STLPORT_ARCHS= i386
+ifeq "$(DEB_HOST_ARCH)" "i386"
+ LINK_TO_STLPORT=y
+endif
+
+ifneq (,$(findstring mips,$(OOO_ARCHS)))
+ BUILD_DEPS += , gcc-4.4 [mips mipsel], g++-4.4 [mips mipsel]
+ ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))
+ GCC_VERSION := 4.4
+ endif
+endif
+
+ifeq "$(ENABLE_OPENGL)" "y"
+ # doesn't make that much sense on armel and mips(el), does it? :)
+ OOO_OGLTRANS_ARCHS = $(filter-out armel mips%, $(OOO_ARCHS))
+ ifeq (,$(filter $(DEB_HOST_ARCH),$(OOO_OGLTRANS_ARCHS)))
+ ENABLE_OPENGL=n
+ endif
+ $(eval $(call gen_no_archs,OOO_OGLTRANS_ARCHS))
+endif
+
+ifneq (,$(findstring arm,$(DEB_HOST_ARCH)))
+ ifneq (stdlibs,$(findstring stdlibs,$(SYSTEM_STUFF)))
+ $(error sal does not build on arm with internal stdlibs!)
+ endif
+endif
+
+OOO_64BIT_ARCHS = $(filter alpha amd64 ia64 kfreebsd-amd64 ppc64 s390x, $(OOO_ARCHS))
+
+# Java...
+OOO_JAVA_ARCHS = $(OOO_ARCHS)
+$(eval $(call gen_no_archs,OOO_JAVA_ARCHS))
+
+OOO_GCJ_ARCHS = $(filter-out $(OOO_OPENJDK_ARCHS), $(OOO_JAVA_ARCHS))
+$(eval $(call gen_no_archs,OOO_GCJ_ARCHS))
+
+OOO_GCJ_JDK_ARCHS := hppa kfreebsd-i386 kfreebsd-amd64
+OOO_OPENJDK_ARCHS := $(filter-out $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))
+$(eval $(call gen_no_archs,OOO_OPENJDK_ARCHS))
+
+OOO_UNOWINREG_DLL_ARCHS := i386 amd64
+ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_UNOWINREG_DLL_ARCHS)))
+ PACKAGE_UNOWINREG_DLL=n
+endif
+
+OOO_ARCH_DEP_EXTENSIONS_ARCHS := $(OOO_ARCHS)
+OOO_EXTENSIONS_ARCHS := $(OOO_ARCH_DEP_EXTENSIONS_ARCHS)
+
+OOO_BASE_ARCHS := $(OOO_JAVA_ARCHS)
+$(eval $(call gen_no_archs,OOO_BASE_ARCHS))
+OOO_REPORTDESIGN_ARCHS := $(filter-out $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))
+$(eval $(call gen_no_archs,OOO_REPORTDESIGN_ARCHS))
+
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
+ ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_BASE_ARCHS)))
+ PACKAGE_BASE=n
+ ENABLE_SDBC_POSTGRESQL=n
+ ENABLE_MYSQLNATIVE=n
+ ENABLE_EVO2=n
+ ENABLE_KDEAB=n
+ ENABLE_REPORTDESIGN=n
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-base libreoffice$(VER)-base-core
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-evolution -Nlibreoffice$(VER)-kab
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-sdbc-postgresql -Nlibreoffice$(VER)-mysql-connector
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-report-builder-bin -Nlibreoffice$(VER)-report-builder
+ endif
+endif
+
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_ARCH_DEP_EXTENSIONS_ARCHS)))
+ ENABLE_MINIMIZER=n
+ ENABLE_PDFIMPORT=n
+ ENABLE_PRESENTER_CONSOLE=n
+ ENABLE_MYSQLNATIVE=n
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-mysql-connector
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-report-builder-bin -Nlibreoffice$(VER)-report-builder
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-pdfimport -Nlibreoffice$(VER)-presentation-minimizer
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-presenter-console
+endif
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
+ ENABLE_MEDIAWIKI=n
+ ENABLE_REPORTDESIGN=n
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-report-builder-bin -Nlibreoffice$(VER)-report-builder
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-wiki-publisher -Nlibreoffice$(VER)-script-provider-python
+endif
+
+ifeq (,$(filter $(DEB_HOST_ARCH),$(OOO_JAVA_ARCHS)))
+ ENABLE_JAVA=n
+ ENABLE_REPORTDESIGN=n
+ ENABLE_MEDIAWIKI=n
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-wiki-publisher
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-report-builder-bin -Nlibreoffice$(VER)-report-builder
+endif
+
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_GCJ_JDK_ARCHS)))
+ ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_OPENJDK_ARCHS)))
+ ENABLE_REPORTDESIGN=n
+ SYSTEM_STUFF := $(filter-out jfreereport, $(SYSTEM_STUFF))
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-report-builder-bin -Nlibreoffice$(VER)-report-builder
+ endif
+endif
+# disable SRB on ia64 when building with internal jfreereport.
+# fails to build. ("The system is out of resources."). FIXME.
+ifeq (ia64,$(findstring ia64,$(OOO_OPENJDK_ARCHS)))
+ ifeq (,$(findstring jfreereport,$(SYSTEM_STUFF)))
+ OOO_REPORTDESIGN_ARCHS := $(filter-out ia64,$(OOO_REPORTDESIGN_ARCHS))
+ ifeq "$(DEB_HOST_ARCH)" "ia64"
+ ENABLE_REPORTDESIGN=n
+ endif
+ endif
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),$(OOO_GCJ_ARCHS)))
+ BUILD_JARS_NATIVE=y
+endif
+
+ifeq "$(PACKAGE_NSPLUGIN)" "y"
+OOO_NSPLUGIN_ARCHS = $(OOO_ARCHS)
+else
+OOO_NSPLUGIN_ARCHS=
+endif
+$(eval $(call gen_no_archs,OOO_NSPLUGIN_ARCHS))
+
+# builds long and is for legacy filters. probably not needed on {arm,mips}{,el}
+ifneq (,$(filter arm% mips% m68k, $(DEB_HOST_ARCH)))
+ BUILD_BINFILTERS=n
+endif
+OOO_BINFILTER_ARCHS:=$(filter-out arm% mips% m68k, $(OOO_ARCHS))
+
+#############
+# Distro-specific overrides
+
+# Debian
+ifeq "$(DEB_VENDOR)" "Debian"
+ # we don't need to build all languages and the thesaurus on the buildds;
+ # they do binary-only builds anyway
+ ifeq ($(ON_BUILDD),y)
+ BUILD_ONLY_EN_US=y
+ endif
+ CONFIGURE_FLAGS += --with-intro-progressbar-color=215,7,81
+endif
+
+# Debian Squeeze
+ifeq "$(SQUEEZE_BACKPORT)" "y"
+ BUGS=mailto:debian-backports@lists.debian.org
+ SYSTEM_STUFF := $(filter-out libwpd libwpg libwps mythes mdds libexttextcat graphite jfreereport libvisio poppler libcmis, $(SYSTEM_STUFF))
+ JUNIT_MIN_VER=
+ PARALLEL_BUILD=n
+ ENABLE_PDFIMPORT=n
+endif
+
+CONFIGURE_FLAGS += $(foreach i, $(SYSTEM_STUFF),--with-system-$(i))
+
+CC_PREFIX:=$(shell gcc -dumpmachine)-
+
+ifneq "$(GCC_VERSION)" ""
+ ifneq "$(SYSTEM_GCC_VERSION)" "$(GCC_VERSION)"
+ BUILD_DEPS += , gcc-$(GCC_VERSION), g++-$(GCC_VERSION)
+ endif
+endif
+
+ BUILDDEB_OPTIONS = -- -Zbzip2
+
+ifneq "$(OOO_OGLTRANS_ARCHS)" ""
+ ifneq (,$(findstring mesa-headers,$(SYSTEM_STUFF)))
+ BUILD_DEPS += , libgl1-mesa-dev$(OOO_NO_OGLTRANS_ARCHS), libglu1-mesa-dev$(OOO_NO_OGLTRANS_ARCHS)
+ endif
+endif
+ifneq "$(ENABLE_OPENGL)" "y"
+ CONFIGURE_FLAGS += --disable-opengl
+endif
+
+ifneq "$(PACKAGE_SDK)" "y"
+ CONFIGURE_FLAGS += --disable-odk
+endif
+
+ifneq "$(ENABLE_MINIMIZER)" "y"
+ CONFIGURE_FLAGS += --disable-ext-presenter-minimizer
+endif
+ifneq "$(ENABLE_PRESENTER_CONSOLE)" "y"
+ CONFIGURE_FLAGS += --disable-ext-presenter-console
+endif
+ifeq "$(ENABLE_PDFIMPORT)" "y"
+ BUILD_DEPS += , libpoppler-dev (>= 0.8.0), libpoppler-private-dev, libpoppler-cpp-dev
+else
+ CONFIGURE_FLAGS += --disable-ext-pdfimport
+endif
+
+# fails their tests
+ifeq "$(DEB_HOST_ARCH)" "alpha"
+ENABLE_GRAPHITE=n
+SYSTEM_STUFF := $(filter-out graphite, $(SYSTEM_STUFF))
+endif
+ifeq "$(DEB_HOST_ARCH)" "armel"
+ENABLE_GRAPHITE=n
+SYSTEM_STUFF := $(filter-out graphite, $(SYSTEM_STUFF))
+endif
+ifeq "$(DEB_HOST_ARCH)" "sparc"
+ENABLE_GRAPHITE=n
+SYSTEM_STUFF := $(filter-out graphite, $(SYSTEM_STUFF))
+endif
+
+ifeq "$(ENABLE_GRAPHITE)" "y"
+ ifneq (,$(filter graphite, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libgraphite2-dev (>= 0.9.3) [!alpha !armel !sparc]
+ endif
+else
+ CONFIGURE_FLAGS += --disable-graphite
+endif
+
+
+ifneq (,$(filter libexttextcat, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libexttextcat-dev (>= 3.1.1)
+ TEXTCAT_DATA_RECOMMENDS := libexttextcat-data
+endif
+
+ifneq (,$(filter jpeg, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libjpeg-dev
+endif
+ifneq (,$(filter libxml, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libxml2-dev
+ BUILD_DEPS += , libxslt1-dev
+ DBG_DBG_SUGGESTS+= , libxslt1-dbg
+endif
+ifneq (,$(filter expat, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libexpat1-dev
+endif
+ifneq (,$(filter odbc, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , unixodbc-dev (>= 2.2.11)
+endif
+ifneq (,$(filter sane, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libsane-dev
+endif
+ifneq (,$(filter xextensions-headers, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libxrender-dev
+endif
+ifneq (,$(filter libpng, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libpng12-dev
+endif
+
+ifeq (,$(filter curl, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libcurl4-$(CURL_SECTYPE)-dev
+endif
+
+ifneq (,$(filter openssl, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libssl-dev
+ ifeq "$(SQUEEZE_BACKPORT)" "y"
+ DBG_DBG_SUGGESTS += , libssl$(shell readlink /usr/lib/libssl.so | cut -d"." -f3,4,5)-dbg
+ else
+ DBG_DBG_SUGGESTS += , libssl$(shell readlink /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/libssl.so | cut -d"." -f3,4,5)-dbg
+ endif
+endif
+
+ifneq "$(ENABLE_RSVG)" "y"
+ ifeq "$(SYSTEM_LIBRSVG)" "y"
+ BUILD_DEPS += , librsvg2-dev
+ CONFIGURE_FLAGS += --enable-librsvg=auto
+ else
+ CONFIGURE_FLAGS += --enable-librsvg=internal
+ endif
+else
+ CONFIGURE_FLAGS += --enable-librsvg=no
+endif
+
+ifneq (,$(findstring db,$(SYSTEM_STUFF)))
+ BUILD_DEPS += , libdb-dev
+ DBG_DBG_SUGGESTS += , $(shell dpkg -s libdb-dev | grep Depends | awk '{ print $$2 }' | sed -e s/dev/dbg/)
+endif
+
+ifeq "$(BUILD_DBG_PACKAGE)" "y"
+ # {,kfreebsd-}{i386,amd64} should be big and fast (xz!) enough for this
+ ifneq (,$(findstring i386,$(DEB_HOST_ARCH)))
+ SMALL_SYMBOLS = n
+ USE_XZ_COMPRESS = y
+ else
+ ifneq (,$(findstring amd64,$(DEB_HOST_ARCH)))
+ SMALL_SYMBOLS = n
+ USE_XZ_COMPRESS = y
+ endif
+ endif
+ DBG_DBG_SUGGESTS+= , libc6.1-dbg [alpha ia64], libc0.1-dbg [kfreebsd-i386 kfreebsd-amd64], libc0.3-dbg [hurd-i386], libc6-dbg [!ia64 !alpha !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libatk1.0-dbg, libglib2.0-0-dbg, libgnomevfs2-0-dbg, libstdc++6-$(SYSTEM_GCC_VERSION)-dbg, libx11-6-dbg, libxext6-dbg, libxaw7-dbg, libxml2-dbg, libgtk2.0-0-dbg, libxau6-dbg, libice6-dbg, libsm6-dbg, libxinerama1-dbg, libfontconfig1-dbg, libhunspell-$(shell pkg-config --modversion hunspell | cut -d. -f1,2)-0-dbg, libcurl4-dbg
+endif
+ifeq "$(ENABLE_SYMBOLS)" "y"
+ # Small symbols?
+ ifeq "$(SMALL_SYMBOLS)" "y"
+ CONFIGURE_FLAGS += --enable-symbols=SMALL
+ CFLAGS := $(shell echo $(CFLAGS) | sed -e "s/-g/-g1/")
+ CXXFLAGS := $(shell echo $(CXXFLAGS) | sed -e "s/-g/-g1/")
+export CFLAGS CXXFLAGS
+ else
+ CONFIGURE_FLAGS += --enable-symbols
+ endif
+endif
+ifeq (debug,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_FLAGS += --enable-debug
+endif
+
+
+# Build python depends from current python version
+PYMAJOR:=$(shell python -c "import sys; print sys.version_info[0]")
+PYMINOR:=$(shell python -c "import sys; print sys.version_info[1]")
+PYMINORPLUS1:=$(shell python -c "import sys; print sys.version_info[1]+1")
+PYTHON_SITE:=debian/python-uno/$(shell python -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
+PY3MAJOR:=$(shell python3 -c "import sys; print (sys.version_info[0])")
+PY3MINOR:=$(shell python3 -c "import sys; print (sys.version_info[1])")
+PY3MINORPLUS1:=$(shell python3 -c "import sys; print (sys.version_info[1]+1)")
+PYTHON3_SITE:=debian/python3-uno/$(shell python3 -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
+
+ifeq "$(BUILD_PYUNO)" "y"
+ BUILD_DEPS += , python (>= 2.6.6-3+squeeze4)
+ DBG_DBG_SUGGESTS+= , python-dbg
+ BUILD_DEPS += , $(PYTHON)-dev (>= 2.6)
+ ifeq "$(ENABLE_PYTHON3)" "y"
+ BUILD_DEPS += , $(PYTHON3)-dev
+ endif
+else
+ BUILD_DEPS += , python
+endif
+
+ BUILD_DEPS += , debhelper (>= 7.2.3~)
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(BUILD_JARS_NATIVE)" "y"
+ STAMP_NATIVE_JARS = $(STAMP_DIR)/native-jars
+ JAVA_GCJ_DEPENDS = libgcj-common (>= 1:4.1.1-14)
+ endif
+endif
+
+ifeq "$(RUN_TESTTOOL)" "y"
+ CONFIGURE_FLAGS += --enable-hids
+endif
+ifneq (,$(filter cppunit, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libcppunit-dev (>= 1.12)
+endif
+ifeq "$(RUN_MAKE_CHECK)" "y"
+ BUILD_DEPS += , gdb
+ ifeq "$(ENABLE_JUNIT4)" "y"
+ BUILD_DEPS += , junit4 $(JUNIT_MIN_VER)
+ else
+ CONFIGURE_FLAGS += --without-junit
+ endif
+else
+ CONFIGURE_FLAGS += --without-junit
+endif
+
+ifneq "$(BUILD_ONLY_EN_US)" "y"
+ ifeq (lang=,$(findstring lang=,$(DEB_BUILD_OPTIONS)))
+ ISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g')
+ HELPISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g')
+ LANGPACKISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g')
+ else
+ # Note that the first one here *has to be* en-US. the first one gets
+ # gid_Module_Root as filelist later and the rest gid_Module_Root.$iso
+ # but we can't/shouldn't do dynamic switching, so let en-US be the first
+ # one to that gid_Module_Root always is english and the other langpacks
+ # have gid_Module_Root.$iso
+ #ISOS=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all')
+ ISOS:=en-US af ar as ast be bg bn br bs ca ca-XV cs cy da de dz el \
+ en-GB en-ZA eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja \
+ ka km ko ku lt lv mk mn ml mr nb ne nl nn nr nso oc om or \
+ pa-IN pl pt pt-BR ro ru rw si sk sl sr ss st sv \
+ ta te tg th tn tr ts ug uk uz ve vi xh zh-CN zh-TW zu
+ #HELPISOS:=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all')
+ HELPISOS:=en-US ca ca-XV cs da de dz el en-GB es et eu fi fr gl hi hu it \
+ ja km ko nl om pl pt pt-BR ru sk sl sv zh-CN zh-TW
+ #LANGPACKISOS:=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all')
+ LANGPACKISOS:=en-US af ar as ast be bg bn br bs ca ca-XV cs cy da de dz el \
+ en-GB en-ZA eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja \
+ ka km ko ku lt lv mk mn ml mr nb ne nl nn nr nso oc om or \
+ pa-IN pl pt pt-BR ro ru rw si sk sl sr ss st sv \
+ ta te tg th tn tr ts ug uk uz ve vi xh zh-CN zh-TW zu
+ endif
+else
+ ISOS=en-US
+ HELPISOS=en-US
+ LANGPACKISOS=en-US
+endif
+BUILD_ISOS = $(ISOS)
+
+ifneq "$(BUILD_ONLY_EN_US)" "y"
+ ifneq "$(BUILD_ISOS)" "en-US"
+ CONFIGURE_FLAGS += --with-lang="$(BUILD_ISOS)"
+ endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(JDK)" "default"
+ JAVA_HOME=/usr/lib/jvm/default-java
+ BUILD_DEPS += , default-jdk$(OOO_NO_JAVA_ARCHS)
+ endif
+ ifeq "$(JDK)" "java-gcj-compat"
+ JAVA_HOME=/usr/lib/jvm/java-gcj
+ ifneq (,$(findstring armel,$(OOO_JAVA_ARCHS)))
+ BUILD_DEPS += , gcj-4.3 (>= 4.3.1-2) [armel]
+ endif
+ endif
+ ifeq "$(JDK)" "gcj-jdk"
+ JAVA_HOME=/usr/lib/jvm/java-gcj
+ BUILD_DEPS += , gcj-jdk$(OOO_NO_JAVA_ARCHS)
+ endif
+ ifeq "$(JDK)" "openjdk"
+ ifeq "$(SQUEEZE_BACKPORT)" "y"
+ BUILD_DEPS += , openjdk-$(JAVA_MAINVER)-jdk [$(filter-out $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))]
+ JAVA_HOME=/usr/lib/jvm/java-$(JAVA_MAINVER)-openjdk
+ else
+ ifeq "$(JAVA_MAINVER)" "6"
+ BUILD_DEPS += , openjdk-$(JAVA_MAINVER)-jdk (>= 6b23~pre8-2) [$(filter-out ia64,$(filter-out $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))])
+ BUILD_DEPS += , openjdk-7-jdk [ia64]
+ ifeq "$(DEB_HOST_ARCH)" "ia64"
+ JAVA_MAINVER=7
+ endif
+ else
+ BUILD_DEPS += , openjdk-$(JAVA_MAINVER)-jdk [$(filter-out $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))]
+ endif
+ JAVA_HOME=/usr/lib/jvm/java-$(JAVA_MAINVER)-openjdk-$(DEB_HOST_ARCH)
+ endif
+ CONFIGURE_FLAGS += --with-java-target-version=1.5
+ endif
+ TEST_JAVA_HOME=$(JAVA_HOME)
+ ifneq "$(OOO_GCJ_JDK_ARCHS)" ""
+ BUILD_DEPS += , gcj-jdk [$(OOO_GCJ_JDK_ARCHS)]
+ BUILD_DEPS += , gcj-native-helper [$(OOO_GCJ_ARCHS)], libgcj-common (>= 1:4.4.1) [$(OOO_GCJ_ARCHS)]
+ endif
+ ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ BUILD_DEPS += , ant (>= 1.7.0)$(OOO_NO_JAVA_ARCHS), ant-optional (>= 1.7.0)$(OOO_NO_JAVA_ARCHS)
+ else
+ BUILD_DEPS += , ant (>= 1.6.5)$(OOO_NO_JAVA_ARCHS)
+ endif
+ GCJ_VERSION = $(shell basename `readlink $(JAVA_HOME)/bin/gcj` | sed -e s/gcj-//)
+ifeq "$(SQUEEZE_BACKPORT)" "y"
+ GCJ_JAWT_DEPENDS= $(shell dpkg -S /usr/lib/`readlink /usr/lib/libgcj_bc.so.1` | cut -d: -f1 | sed -e s/$$/-awt/)
+else
+ GCJ_JAWT_DEPENDS= $(shell dpkg -S /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/gcj-$(GCJ_JDK_VERSION)-*/libgcj_bc.so.1 | cut -d: -f1 | sed -e s/$$/-awt/)
+endif
+ DBG_DBG_SUGGESTS+= , $(shell echo $(GCJ_AWT_DEPENDS) | sed -e s/awt/dbg/)
+ JAVA_RUNTIME_DEPENDS = default-jre | gcj-jre | java-gcj-compat
+# ifneq (,$(GCJ_JAWT_DEPENDS))
+# JAVA_RUNTIME_DEPENDS += | $(GCJ_JAWT_DEPENDS)
+# endif
+ ifneq (,$(filter $(DEB_HOST_ARCH), $(OOO_OPENJDK_ARCHS)))
+ ifneq "$(DEB_HOST_ARCH)" "ia64"
+ JAVA_RUNTIME_DEPENDS += | openjdk-6-jre | openjdk-7-jre
+ else
+ JAVA_RUNTIME_DEPENDS += | openjdk-7-jre
+ endif
+ endif
+ ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386))
+ JAVA_RUNTIME_DEPENDS += | sun-java5-jre | sun-java6-jre
+ endif
+ JAVA_RUNTIME_DEPENDS += | java5-runtime
+ # Suns Java "packages"
+ JAVA_RUNTIME_DEPENDS += | jre
+ GCJ_JAWT_DIR=$(shell dirname `dpkg -L $(GCJ_JAWT_DEPENDS) | grep libjawt.so | head -n 1`)
+export JAVA_HOME
+ CONFIGURE_FLAGS += --with-jdk-home=$(JAVA_HOME)
+ JAVA_COMMON_DEPENDS= , libreoffice$(VER)-java-common
+ JAVA_COMMON_DEPENDS_VERSION:= (>= $(BASE_VERSION)~)
+ ifneq (,$(filter saxon, $(SYSTEM_STUFF)))
+ CONFIGURE_FLAGS += --with-system-saxon --with-saxon-jar=/usr/share/java/saxonb.jar
+ BUILD_DEPS += , libsaxonb-java$(OOO_NO_JAVA_ARCHS)
+ endif
+ ifeq "$(PACKAGE_SDK)" "y"
+ ifeq "$(PACKAGE_UNOWINREG_DLL)" "y"
+ ifeq "$(BUILD_UNOWINREG_DLL)" "y"
+ CONFIGURE_FLAGS += --enable-build-unowinreg
+ ifeq "$(SQUEEZE_BACKPORT)" "y"
+ BUILD_DEPS += , gcc-mingw32 [$(OOO_UNOWINREG_DLL_ARCHS)], mingw32-runtime[$(OOO_UNOWINREG_DLL_ARCHS)]
+ CONFIGURE_FLAGS += --with-mingw-cross-compiler=i586-mingw32msvc-g++
+ else
+ BUILD_DEPS += , g++-mingw-w64-i686 [$(OOO_UNOWINREG_DLL_ARCHS)]
+ CONFIGURE_FLAGS += --with-mingw-cross-compiler=i686-w64-mingw32-g++
+ endif
+ endif
+ endif
+ endif
+ ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ CONFIGURE_FLAGS += --enable-ext-wiki-publisher
+ ifneq (,$(filter apache-commons, $(SYSTEM_STUFF)))
+ MEDIAWIKI_BUILD_DEPS += , libcommons-codec-java$(OOO_NO_JAVA_ARCHS), libcommons-httpclient-java$(OOO_NO_JAVA_ARCHS), libcommons-lang-java$(OOO_NO_JAVA_ARCHS), libcommons-logging-java$(OOO_NO_JAVA_ARCHS)
+ MEDIAWIKI_JAR_DEPENDS := , libcommons-codec-java, libcommons-httpclient-java, libcommons-lang-java, libcommons-logging-java
+ BUILD_DEPS += $(MEDIAWIKI_BUILD_DEPS)
+ CONFIGURE_FLAGS += --with-commons-codec-jar=/usr/share/java/commons-codec.jar --with-commons-lang-jar=/usr/share/java/commons-lang.jar --with-commons-httpclient-jar=/usr/share/java/commons-httpclient.jar --with-commons-logging-jar=/usr/share/java/commons-logging.jar
+ CONFIGURE_FLAGS += --with-system-servlet-api
+ ifeq "$(SQUEEZE_BACKPORT)" "y"
+ BUILD_DEPS += (<< 1.1.1-9), $(shell dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f1 | sed -e s/^\ // | awk '{ print $$2 }')
+ CONFIGURE_FLAGS += --with-servlet-api-jar=$(shell dpkg -L `dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f1 | sed -e s/^\ // | awk '{ print $$2 }'` | grep servlet-api.*\.jar$ | head -n 1)
+ else
+ BUILD_DEPS += (>= 1.1.1-9), $(shell dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f5 | sed -e s/^\ // | awk '{ print $$1 }')
+ CONFIGURE_FLAGS += --with-servlet-api-jar=$(shell dpkg -L `dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f5 | sed -e s/^\ // | awk '{ print $$1 }'` | grep servlet-api.*\.jar$ | head -n 1)
+ endif
+ endif
+ endif
+ ifeq "$(ENABLE_REPORTDESIGN)" "y"
+ # report-builder
+ ifneq (,$(filter jfreereport, $(SYSTEM_STUFF)))
+ REPORT_BUILDER_BUILD_DEPS += , libbase-java$(OOO_NO_REPORTDESIGN_ARCHS), libsac-java$(OOO_NO_REPORTDESIGN_ARCHS), libxml-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libflute-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libpentaho-reporting-flow-engine-java (>= 0.9.4)$(OOO_NO_REPORTDESIGN_ARCHS), liblayout-java (>= 0.2.10)$(OOO_NO_REPORTDESIGN_ARCHS), libloader-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libformula-java (>= 1.1.7)$(OOO_NO_REPORTDESIGN_ARCHS), librepository-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libfonts-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libserializer-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS)
+ REPORT_BUILDER_JAR_DEPENDS := , libbase-java, libsac-java, libxml-java (>= 1.1.6), libflute-java (>= 1.1.6), libpentaho-reporting-flow-engine-java (>= 0.9.4), liblayout-java (>= 0.2.10), libloader-java (>= 1.1.6), libformula-java (>= 1.1.7), librepository-java (>= 1.1.6), libfonts-java (>= 1.1.6), libserializer-java (>= 1.1.6)
+ BUILD_DEPS += $(REPORT_BUILDER_BUILD_DEPS)
+ CONFIGURE_FLAGS += --with-libbase-jar=/usr/share/java/libbase.jar --with-libxml-jar=/usr/share/java/libxml.jar --with-flute-jar=/usr/share/java/flute.jar --with-jfreereport-jar=/usr/share/java/flow-engine.jar --with-liblayout-jar=/usr/share/java/liblayout.jar --with-libloader-jar=/usr/share/java/libloader.jar --with-libformula-jar=/usr/share/java/libformula.jar --with-librepository-jar=/usr/share/java/librepository.jar --with-libfonts-jar=/usr/share/java/libfonts.jar --with-libserializer-jar=/usr/share/java/libserializer.jar
+ endif
+ ifneq (,$(filter apache-commons, $(SYSTEM_STUFF)))
+ REPORT_BUILDER_BUILD_DEPS += , libcommons-logging-java$(OOO_NO_JAVA_ARCHS)
+ REPORT_BUILDER_JAR_DEPENDS += , libcommons-logging-java
+ CONFIGURE_FLAGS += --with-commons-logging-jar=/usr/share/java/commons-logging.jar
+ ifeq "$(SQUEEZE_BACKPORT)" "y"
+ BUILD_DEPS += (<< 1.1.1-9), $(shell dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f1 | sed -e s/^\ // | awk '{ print $$2 }')
+ CONFIGURE_FLAGS += --with-servlet-api-jar=$(shell dpkg -L `dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f1 | sed -e s/^\ // | awk '{ print $$2 }'` | grep servlet-api.*\.jar$ | head -n 1)
+ else
+ BUILD_DEPS += (>= 1.1.1-9), $(shell dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f5 | sed -e s/^\ // | awk '{ print $$1 }')
+ CONFIGURE_FLAGS += --with-servlet-api-jar=$(shell dpkg -L `dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f5 | sed -e s/^\ // | awk '{ print $$1 }'` | grep servlet-api.*\.jar$ | head -n 1)
+ endif
+ endif
+ else
+ CONFIGURE_FLAGS += --disable-ext-report-builder
+ endif
+ OOO_OFFICEBEAN_DEP = libreoffice$(VER)-officebean
+ BUILD_DEPS += , javahelper $(JAVAHELPER_MIN_VERSION)
+else
+ CONFIGURE_FLAGS += --without-java
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-officebean -Nlibreoffice$(VER)-java-common -Nlibreoffice$(VER)-filter-mobiledev -Nlibreoffice$(VER)-gcj -Nlibreoffice$(VER)-script-provider-bsh -Nlibreoffice$(VER)-script-provider-js
+endif
+
+ifneq (,$(filter nss, $(SYSTEM_STUFF)))
+ BUILD_DEPS+= , libnss3-dev (>= 3.12.3)
+ DBG_DBG_SUGGESTS+= , libnss3-1d-dbg
+endif
+ifneq (,$(filter mozilla-headers, $(SYSTEM_STUFF)))
+ BUILD_DEPS+= , xulrunner-dev$(OOO_NO_NSPLUGIN_ARCHS)
+endif
+ CONFIGURE_FLAGS += --disable-build-mozilla --disable-mozilla
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NSPLUGIN_ARCHS)))
+ PACKAGE_NSPLUGIN=n
+ CONFIGURE_FLAGS += --disable-nsplugin
+endif
+
+ifeq "$(USE_SYSTEM_DMAKE)" "y"
+ BUILD_DEPS += , dmake (>= 1:4.11)
+endif
+
+ifneq (,$(filter hunspell, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libhunspell-dev $(HUNSPELL_MIN_VER)
+endif
+ CONFIGURE_FLAGS += --with-external-dict-dir=$(DICT_DIR)
+
+ifneq (,$(filter altlinuxhyph, $(SYSTEM_STUFF)))
+ ifeq "$(USE_LIBHYPHEN)" "y"
+ BUILD_DEPS += , libhyphen-dev $(LIBHYPHEN_MINVER)
+ else
+ BUILD_DEPS += , libaltlinuxhyph-dev $(LIBALTLINUXHYPH_MINVER)
+ endif
+endif
+ CONFIGURE_FLAGS += --with-external-hyph-dir=$(HYPH_DIR)
+
+ifneq "$(OOO_STLPORT_ARCHS)" ""
+ LIBSTLPORT_MINVER= (>= 4.6.2-3)
+ BUILD_DEPS += , libstlport4.6-dev $(LIBSTLPORT_MINVER) [$(OOO_STLPORT_ARCHS)]
+ CONFIGURE_FLAGS += --without-stlport
+endif
+
+ifneq (,$(filter boost, $(SYSTEM_STUFF)))
+ ifeq "$(BOOST_VERSION)" "1.34"
+ ifeq "$(SYSTEM_GCC_VERSION)" "4.4"
+ BUILD_DEPS += , libboost-dev (>= 1.34.1-15)
+ else
+ BUILD_DEPS += , libboost-dev
+ endif
+ ifeq "$(SYSTEM_GCC_VERSION)" "4.6"
+ BUILD_DEPS += , g++-4.6 (>= 4.6.2-12)
+ endif
+ else
+ ifneq "$(BOOST_VERSION)" "default"
+ BUILD_DEPS += , libboost$(BOOST_VERSION)-dev $(BOOST_MINVER)
+ #BUILD_DEPS += , libboost-thread$(BOOST_VERSION)-dev, libboost-program-options$(BOOST_VERSION)-dev
+ else
+ BUILD_DEPS += , libboost-dev $(BOOST_MINVER)
+ #BUILD_DEPS += , libboost-thread-dev, libboost-program-options-dev
+ endif
+ endif
+endif
+
+ifneq (,$(filter mdds, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmdds-dev (>= 0.5.0)
+endif
+
+ifneq (,$(filter vigra, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libvigraimpex-dev
+endif
+
+ifneq (,$(filter sampleicc, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libsampleicc-dev, libicc-utils-dev
+endif
+
+ifeq "$(USE_EXTERNAL_CXXLIBS)" "y"
+ ifneq (,$(filter libwpd, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libwpd-dev (>= 0.9.0)
+ endif
+ ifneq (,$(filter sablot, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libsablot0-dev (>= 1.0.2-4)
+ endif
+ ifneq (,$(filter mythes, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmythes-dev (>= 2:1.2)
+ endif
+ ifneq (,$(filter libwps, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libwps-dev (>= 0.2.0)
+ endif
+ ifneq (,$(filter libwpg, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libwpg-dev (>= 0.2.0)
+ endif
+ ifneq (,$(filter libvisio, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libvisio-dev
+ endif
+ ifneq (,$(filter libcmis, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libcmis-dev
+ endif
+endif
+ CONFIGURE_FLAGS += --with-external-thes-dir=$(THES_DIR)
+
+ifneq (,$(filter icu, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libicu-dev $(ICU_MINVER)
+endif
+
+ifneq (,$(filter xmlsec, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libxmlsec1-dev (>= 1.2.9), libxmlsec1-nss (>= 1.2.9), libxmlsec1-openssl (>= 1.2.9)
+endif
+
+ifeq "$(BUILD_CAIROCANVAS)" "y"
+ ifneq (,$(filter cairo, $(SYSTEM_STUFF)))
+ BUILD_DEPS+= , libcairo2-dev
+ endif
+else
+ CONFIGURE_FLAGS+= --disable-cairo
+endif
+
+ifeq "$(BUILD_KDE)" "n"
+ CONFIGURE_FLAGS+= --disable-kde
+ CONFIGURE_FLAGS-= --disable-kde4
+ CONFIGURE_FLAGS+= --with-theme="$(patsubst $(DEFAULT_IMAGE),default,$(IMAGES))"
+else
+ CONFIGURE_FLAGS += --disable-kde
+ CONFIGURE_FLAGS += --enable-kde4
+ KDE_ICONSET_DEP=libreoffice$(VER)-style-oxygen
+ BUILD_DEPS += , kdelibs5-dev $(KDELIBS_MINVER)
+ BUILD_DEPS += , libqt4-dev $(QT_MINVER)
+ DBG_DBG_SUGGESTS+= , kdelibs5-dbg, libqt4-dbg
+ ifeq "$(ENABLE_KDEAB)" "y"
+ ADDITIONAL_SECTIONS += KDE4Experimental
+ BUILD_DEPS += , kdepimlibs5-dev$(OOO_NO_BASE_ARCHS)
+ else
+ CONFIGURE_FLAGS+= --disable-kdeab
+ endif
+endif
+
+ifeq "$(ENABLE_MYSQLNATIVE)" "y"
+ CONFIGURE_FLAGS += --enable-ext-mysql-connector
+ ifneq (,$(filter mysql, $(SYSTEM_STUFF)))
+ ifneq (,$(filter mysql-cppconn, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmysqlclient-dev
+ else
+ BUILD_DEPS += , libmysqlclient-dev (>= 5.5~)
+ endif
+ endif
+ ifneq (,$(filter mysql-cppconn, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmysqlcppconn-dev $(MYSQLCPPCONN_MINVER)
+ endif
+endif
+
+ifeq "$(BUILD_GTK)" "n"
+ CONFIGURE_FLAGS+= --disable-gtk
+ DEBHELPER_OPTIONS+= -Nlibreoffice$(VER)-gtk -Nlibreoffice$(VER)-gnome
+ CONFIGURE_FLAGS+= --with-theme="$(patsubst galaxy,default,$(IMAGES))"
+else
+ BUILD_DEPS += , libgtk2.0-dev (>= 2.10)
+endif
+ifeq "$(BUILD_GTK3)" "y"
+ BUILD_DEPS += , libgtk-3-dev (>= 3.2~)
+ CONFIGURE_FLAGS+= --enable-gtk3
+ ifneq (cairo,$(findstring cairo,$(SYSTEM_STUFF)))
+ $(error GTK3 build fails without system-cairo!!)
+ endif
+else
+ DEBHELPER_OPTIONS+= -Nlibreoffice$(VER)-gtk3
+endif
+
+ifeq "$(ENABLE_EVO2)" "n"
+ CONFIGURE_FLAGS += --disable-evolution2
+ DEBHELPER_OPTIONS += -Nlibreoffice-evolution
+else
+ CONFIGURE_FLAGS += --enable-evolution2
+ BUILD_DEPS += , libebook1.2-dev$(OOO_NO_BASE_ARCHS)
+endif
+
+ifeq "$(ENABLE_SDBC_POSTGRESQL)" "y"
+ BUILD_DEPS += , libpq-dev (>= 9.0~)
+else
+ CONFIGURE_FLAGS += --disable-postgresql-sdbc
+endif
+
+ifeq "$(ENABLE_RANDR)" "y"
+ BUILD_DEPS += , libxrandr-dev
+else
+ CONFIGURE_FLAGS += --disable-randr
+endif
+
+ifeq "$(BUILD_BINFILTERS)" "y"
+ CONFIGURE_FLAGS+= --enable-binfilter
+ OOO_BINFILTER_DEP = libreoffice$(VER)-filter-binfilter
+endif
+
+ifneq "$(BUILD_PYUNO)" "y"
+ DEBHELPER_OPTIONS+= -Npython-uno -Npython3-uno -Nlibreoffice-script-provider-python
+ CONFIGURE_FLAGS += --disable-python
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifneq (,$(filter lucene, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , liblucene2-java (>= 2.3.2)$(OOO_NO_JAVA_ARCHS)
+ LUCENE_DEPENDS = liblucene2-java (>= 2.3.2)
+ # safety measure; e.g. lucene 2.9 index cannot be handled by lucene 2.4
+ LUCENE_CONFLICTS = liblucene2-java (<< $(shell dpkg -l liblucene2-java | grep ^ii | awk '{ print $$3 }' | cut -d. -f1,2)~)
+ CONFIGURE_FLAGS += --with-lucene-core-jar=/usr/share/java/lucene-core.jar --with-lucene-analyzers-jar=/usr/share/java/lucene-analyzers.jar
+ endif
+ ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libhsqldb-java $(HSQLDB_MINVER)$(OOO_NO_JAVA_ARCHS)
+ BASE_HSQLDB_DEPENDS = libhsqldb-java $(HSQLDB_MINVER), libhsqldb-java (<< $(HSQLDB_TOONEWVER)~)
+ JAVA_GCJ_DEPENDS += , libhsqldb-java-gcj [$(OOO_GCJ_ARCHS)]
+ else
+ ifneq "$(JDK)" "openjdk"
+ # hsqldb with jdk7 buildfix from jdk7.diff fails with gcj
+ $(error hsqldb with jdk7 buildfix from jdk7.diff fails with gcj)
+ endif
+ endif
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_BSH)" "y"
+ ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , bsh (>= 2.0b4)$(OOO_NO_JAVA_ARCHS)
+ BSH_DEPENDS = bsh (>= 2.0b4)
+ JAVA_GCJ_DEPENDS += , bsh-gcj [$(OOO_GCJ_ARCHS)]
+ endif
+ CONFIGURE_FLAGS += --enable-ext-scripting-beanshell
+ else
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-script-provider-bsh
+ endif
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_JS)" "y"
+ CONFIGURE_FLAGS += --enable-ext-scripting-javascript
+ else
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-script-provider-js
+ endif
+endif
+
+ifneq (,$(filter lpsolve, $(SYSTEM_STUFF)))
+ ifeq "$(USE_SHARED_LPSOLVE)" "y"
+ BUILD_DEPS += , liblpsolve55-dev $(LPSOLVE_MIN_VERSION), lp-solve $(LPSOLVE_MIN_VERSION)
+ LPSOLVE_DEP = lp-solve $(LPSOLVE_MIN_VERSION)
+ else
+ BUILD_DEPS += , liblpsolve55-dev $(LPSOLVE_MIN_VERSION)
+ endif
+ ifeq "$(USE_LIBSUITESPARSE)" "y"
+ DBG_DBG_SUGGESTS+= , libsuitesparse-dbg
+ BUILD_DEPS += , libsuitesparse-dev $(SUITESPARSE_MIN_VERSION)
+ else
+ DBG_DBG_SUGGESTS+= , libufsparse-dbg
+ BUILD_DEPS += , libufsparse-dev
+ endif
+endif
+
+ifeq "$(USE_DBUS)" "y"
+ BUILD_DEPS += , libdbus-glib-1-dev (>= 0.70)
+ CONFIGURE_FLAGS += --enable-dbus
+endif
+
+ifeq "$(USE_GSTREAMER)" "y"
+ BUILD_DEPS += , libgstreamer-plugins-base0.10-dev
+ GSTREAMER_PLUGINS_SUGGESTS += , gstreamer0.10-plugins-base, gstreamer0.10-plugins-good, gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-bad, gstreamer0.10-ffmpeg
+ DBG_DBG_SUGGESTS+= , libgstreamer0.10-0-dbg
+else
+ CONFIGURE_FLAGS += --disable-gstreamer
+endif
+
+ifneq (,$(filter neon, $(SYSTEM_STUFF)))
+ ifneq "$(NEON_SECTYPE)" "openssl"
+ BUILD_DEPS += , libneon$(NEONSONR)-$(NEON_SECTYPE)-dev
+ DBG_DBG_SUGGESTS+= , libneon$(NEONSONR)-$(NEON_SECTYPE)-dbg
+ else
+ BUILD_DEPS += , libneon$(NEONSONR)-dev
+ DBG_DBG_SUGGESTS+= , libneon$(NEONSONR)-dbg
+ endif
+endif
+
+ifeq "$(HELPISOS)" ""
+ CONFIGURE_FLAGS += --without-helppack-integration
+endif
+
+ifneq (,$(filter redland, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , librdf0-dev (>= 1.0.8)
+ SHLIBS_OVERRIDE += -Xunordf
+endif
+
+ifeq "$(ENABLE_GIO)" "y"
+ CONFIGURE_FLAGS += --enable-gio --disable-gnome-vfs
+ BUILD_DEPS += , libglib2.0-dev (>= 2.15.0)
+endif
+
+ifeq "$(ENABLE_GVFS)" "y"
+ BUILD_DEPS += , libgnomevfs2-dev
+else
+ CONFIGURE_FLAGS += --disable-gnome-vfs
+endif
+
+ifeq "$(ENABLE_GCONF)" "y"
+ BUILD_DEPS += , libgconf2-dev, liborbit2-dev
+else
+ CONFIGURE_FLAGS += --disable-gconf
+endif
+ BUILD_DEPS += , gettext
+
+ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
+ BUILD_DEPS_INDEP += , fontforge
+endif
+
+# Use compiler cache? Include ccache in DEB_BUILD_OPTIONS for much faster rebuild times
+# A complete build uses about 9G of compiler cache.
+ifneq (ccache,$(findstring ccache,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_FLAGS += --disable-ccache
+endif
+
+## Build n projects in parallel?
+## DEB_BUILD_OPTIONS=parallel=<n>
+## if not specified LibreOffices configure tries to find it out itself
+NUM_CPUS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^\(.* \)\?parallel=\([0-9]\+\).*$$/\2/p')
+AVAIL_CPUS := $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
+ifeq "$(PARALLEL_BUILD)" "y"
+ # http://bugs.debian.org/622644
+ BUILD_DEPS += , make (>= 3.81-8.2)
+ ifneq "$(NUM_CPUS)" "$(AVAIL_CPUS)"
+ CONFIGURE_FLAGS += --with-num-cpus=$(NUM_CPUS)
+ endif
+else
+ CONFIGURE_FLAGS += --with-num-cpus=1
+endif
+
+
+ifeq ($(GCC_VERSION),)
+ BUILD_PATH = /usr/lib/jvm/java-gcj/bin:$$PATH
+else
+ ifeq ($(GCC_VERSION),snapshot)
+ BUILD_PATH = /usr/lib/jvm/java-gcj/bin:/usr/lib/gcc-snapshot/bin:$$PATH
+ BUILD_LD_LIBRARY_PATH = /usr/lib/gcc-snapshot/lib:$$LD_LIBRARY_PATH
+ BUILD_DEPS += , gcc-snapshot
+ else
+ BUILD_PATH = /usr/lib/jvm/java-gcj/bin:$(CURDIR)/debian/usr/bin:$$PATH
+ endif
+endif
+BUILD_PATH := $(CURDIR)/debian/usr/bin:$(BUILD_PATH)
+BUILD_LD_LIBRARY_PATH := $(BUILD_LD_LIBRARY_PATH):$(GCJ_JAWT_DIR)
+
+ifeq "$(ENABLE_LDAP)" "y"
+ ifeq "$(USE_OPENLDAP)" "y"
+ BUILD_DEPS += , libldap2-dev
+ LDAP_LIB := $(shell echo libldap-`grep LDAP_VENDOR_VERSION_M /usr/include/ldap_features.h | cut -d: -f2 | awk '{ print $$3 }' | xargs | sed -e "s/ /\./"`-`grep LDAP_VENDOR_VERSION_MAJOR /usr/include/ldap_features.h | cut -d: -f2 | awk '{ print $$3 }'`)
+ CONFIGURE_FLAGS += --with-openldap
+ endif
+else
+ CONFIGURE_FLAGS += --disable-ldap
+endif
+
+# Because of the stampdir magic, when you actually want to run a rule
+# over, you would have to remove the stamp manually. Now, just do
+# 'debian/rules <target> <target> ... FORCE=1', and the stamp files
+# that match the given targets will be removed automagically.
+stampdir_targets=files.backup icons.scale patch.apply build.prepare.artwork
+stampdir_targets+=build.prepare configure
+stampdir_targets+=setupins setup install install-arch install-indep
+stampdir_targets+=langpacks binary-common binary-arch binary-indep
+ifdef FORCE
+ DUMMY:=$(shell rm -f $(patsubst %,$(STAMP_DIR)/%,$(filter $(stampdir_targets),$(MAKECMDGOALS))))
+endif
+
+# If this is defined, then none of the 'long' commands will be run. Useful
+# for testing.
+# test_rules=1
+
+# Since the final stages use up a large amount of diskspace, provide targets to
+# remove them without needing a full rebuild
+
+# Clean up the package directories (about 830M)
+clean-debdir:
+ dh_testdir
+ rm -f debian/*.postinst debian/*.postrm debian/*.preinst debian/*.prerm debian/*.triggers
+ dh_clean
+
+clean:
+ dh_testroot
+ dh_testdir
+
+ # remove generated symlinks / java wrappers
+ rm -rf debian/usr
+
+ if [ -f config.status ]; then \
+ $(MAKE) distclean; \
+ rm -f config.status; \
+ fi
+ find $(SOURCE_TREE)/solenv/gdb -name "*.pyc" -exec rm {} \;
+ rm -rf */*.pro.obsolete
+
+ rm -rf $(SOURCE_TREE)/file-lists
+ rm -rf $(SOURCE_TREE)/pyuno-py3
+ rm -f configure aclocal.m4
+ rm -f build_error.log
+
+ifeq "$(HELPISOS)" ""
+ rm -rf images*
+endif
+
+ # Files created in debian directory
+ $(MAKE) -f debian/rules clean-debdir
+ find debian -name "*.links" -exec rm {} \;
+ if [ -d "$(STAMP_DIR)" ]; then rm -rf "$(STAMP_DIR)"; fi
+ rm -f debian/shlibs.override.stdlibs
+ rm -f debian/*.bug-script
+ rm -f debian/scripts/aotcompile.py*
+
+ rm -f l10n.fdupes
+ rm -f debian/shlibs.local
+ rm -f debian/*.templates
+
+ rm -f debian/libreoffice-dev-doc.doc-base.*
+ rm -f debian/*.menu
+ for i in base calc core common draw impress math writer; do \
+ rm -f debian/libreoffice-$$i.lintian-overrides; \
+ done
+ rm -f debian/*.install debian/*.dirs debian/*.changelog
+ rm -f debian/catalog.xml
+ rm -f debian/openoffice.org-dtd-officedocument1.0.xmlcatalogs
+ rm -f download.list
+
+ $(MAKE) -f debian/rules control
+
+
+# Generate control file, because we have so many different languages
+# Based on script by Martin Quinson <Martin.Quinson@tuxfamily.org>
+control: debian/control
+debian/control: $(wildcard debian/control*in) $(SOURCE_TREE)/bin/lo-xlate-lang debian/rules
+ chmod 755 $(SOURCE_TREE)/bin/lo-xlate-lang
+ sed -e "s#libreofficeVER#libreoffice$(VER)#g" \
+ -e "s#libreofficeVER#libreoffice$(VER)#g" \
+ -e "s#%$(DEB_VENDOR)=\([^%]*\)%#, \1#g#" \
+ -e "s#%[A-Za-z]*=[^%]*%##g#" \
+ -e "s#%BUILD_DEPS%#$(strip $(BUILD_DEPS))#g" \
+ -e "s#%BUILD_DEPS_INDEP%#$(strip $(BUILD_DEPS_INDEP))#g" \
+ -e "s#@PYTHON_VERSION@#$(PYTHON_VERSION)#g" \
+ -e "s#@BUGS@#$(BUGS)#g" \
+ < debian/control.in > debian/control
+
+ifeq "$(ENABLE_LDAP)" "y"
+ # build-depends might not be satified when running debian/rules control. prevent bad subsitition with
+ # nothing (libldap--)
+ if [ ! -f /usr/include/ldap_features.h ]; then \
+ echo "/usr/include/ldap_features.h not found. Is libldap2-dev installed?"; \
+ echo 'Needed for properly setting $$(LDAP_LIB). Stopping,'; \
+ exit 1; \
+ fi
+endif
+
+ for LNUM in $(filter-out en-US,$(LANGPACKISOS)) ; do \
+ LNAME=`$(SOURCE_TREE)/bin/lo-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
+ LCODE=`$(SOURCE_TREE)/bin/lo-xlate-lang -i $$LNUM | tr A-Z a-z`; \
+ [ "$$LNUM" = ca-XV ] && continue; \
+ CCODE=`echo $$LCODE | sed 's/-.*//'`; \
+ case "$$LCODE" in \
+ bn|gu|pa-in|ml|or|te|ta) \
+ FONT_SUGGESTS=", ttf-`echo $$LNAME | tr A-Z a-z`-fonts"; \
+ ;; \
+ hi-in|ne|mr) \
+ FONT_SUGGESTS=", ttf-devanagari-fonts"; \
+ ;; \
+ he) \
+ FONT_SUGGESTS=", culmus"; \
+ ;; \
+ km) \
+ FONT_SUGGESTS=", ttf-khmeros"; \
+ ;; \
+ ar) \
+ FONT_SUGGESTS=", ttf-arabeyes"; \
+ ;; \
+ fa) \
+ FONT_SUGGESTS=", ttf-farsiweb"; \
+ ;; \
+ dz) \
+ FONT_SUGGESTS=", ttf-dzongkha"; \
+ ;; \
+ th) \
+ if [ "$(SQUEEZE_BACKPORT)" != "y" ]; then \
+ FONT_SUGGESTS=", fonts-thai-tlwg"; else \
+ FONT_SUGGESTS=", ttf-thai-tlwg"; fi; \
+ ;; \
+ *) \
+ FONT_SUGGESTS= ;; \
+ esac; \
+ case "$$LCODE" in \
+ rw) \
+ LOCALES_DEPENDS="locales (>= 2.3.6) | belocs-locales-data | locales-all (>= 2.3.6)" \
+ ;; \
+ ss|ts|km|ns|tn) \
+ LOCALES_DEPENDS="locales (>= 2.3.5-12) | belocs-locales-data | locales-all" \
+ ;; \
+ sr) \
+ LOCALES_DEPENDS="locales (>= 2.3.6.ds1-5) | belocs-locales-data | locales-all" \
+ ;; \
+ as|or|nr) \
+ LOCALES_DEPENDS="locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1)" \
+ ;; \
+ sw) \
+ LOCALES_DEPENDS="locales (>= 2.13-5) | locales-all (>= 2.13-5)" \
+ ;; \
+ *) \
+ LOCALES_DEPENDS="locales | belocs-locales-data | locales-all" \
+ ;; \
+ esac; \
+ sed -e "s|@LNAME@|$$LNAME|g" -e "s|@LCODE@|$$LCODE|g" \
+ -e "s|@CCODE@|$$CCODE|g" \
+ -e "s|@FONT_SUGGESTS@|$$FONT_SUGGESTS|g" \
+ -e "s:@LOCALES_DEPENDS@:$$LOCALES_DEPENDS:g" \
+ -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ -e "s|@LDAP_LIB@|$(LDAP_LIB)|g" \
+ >> debian/control < debian/control.lang.in; \
+ done
+
+ifneq "$(HELPISOS)" ""
+ for LNUM in $(HELPISOS) ; do \
+ LNAME=`$(SOURCE_TREE)/bin/lo-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
+ LCODE=`$(SOURCE_TREE)/bin/lo-xlate-lang -i $$LNUM | tr A-Z a-z`; \
+ [ "$$LNUM" = ca-XV ] && continue; \
+ CCODE=`echo $$LCODE | sed 's/-.*//'`; \
+ sed -e "s|@LNAME@|$$LNAME|g" -e "s|@LCODE@|$$LCODE|g" \
+ -e "s|@CCODE@|$$CCODE|g" \
+ -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.help.in; \
+ done
+ # en_US is in -common
+ perl -pi -e 's|(Depends: libreoffice$(VER)-writer \| language-support-translations-en), libreoffice$(VER)-l10n-en-us|\1|' \
+ debian/control
+ perl -pi -e 's|(Depends: libreoffice$(VER)-writer, libreoffice$(VER)-l10n-en-us)|\1, ttf-devanagari-fonts|' \
+ debian/control
+endif
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.ure.in
+ifeq "$(ENABLE_JAVA)" "y"
+ ifneq "$(OOO_GCJ_JDK_ARCHS)" ""
+# ifeq "$(BUILD_JARS_NATIVE)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.gcj.in
+ # endif
+ endif
+endif
+ifneq "$(OOO_NSPLUGIN_ARCHS)" ""
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.mozilla.in
+endif
+ifneq "$(OOO_OGLTRANS_ARCHS)" ""
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.ogltrans.in
+endif
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.mediawiki.in
+ endif
+ ifeq "$(ENABLE_REPORTDESIGN)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.reportdesign.in
+ endif
+endif
+ifeq "$(ENABLE_MINIMIZER)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.minimizer.in
+endif
+ifeq "$(ENABLE_PRESENTER_CONSOLE)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.presenter.in
+endif
+ifeq "$(ENABLE_PDFIMPORT)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.pdfimport.in
+endif
+ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.fonts.in
+endif
+ifeq "$(BUILD_DBG_PACKAGE)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.debug.in
+endif
+ifeq "$(PACKAGE_SDK)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.sdk.in
+endif
+ifeq "$(BUILD_KDE)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.kde.in
+ perl -pi -e 's/ libreoffice$(VER)-gnome,/ libreoffice-gnome | libreoffice$(VER)-kde,/' debian/control
+endif
+ifeq "$(ENABLE_SDBC_POSTGRESQL)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.postgresql.in
+endif
+ifeq "$(ENABLE_MYSQLNATIVE)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.mysql.in
+endif
+ifeq "$(ENABLE_EVO2)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.evolution.in
+endif
+ifeq "$(BUILD_BINFILTERS)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.binfilter.in
+endif
+ifeq "$(ENABLE_KDEAB)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.kab.in
+endif
+
+ perl -pi -e "s,%OOO_ARCHS%,$(OOO_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_BASE_ARCHS%,$(OOO_BASE_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_NO_BASE_ARCHS%,$(OOO_NO_BASE_ARCHS),"g debian/control
+ perl -pi -e "s,%OOO_JAVA_ARCHS%,$(OOO_JAVA_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_GCJ_ARCHS%,$(OOO_GCJ_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_NSPLUGIN_ARCHS%,$(OOO_NSPLUGIN_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_OGLTRANS_ARCHS%,$(OOO_OGLTRANS_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_BINFILTER_ARCHS%,$(OOO_BINFILTER_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_STLPORT_ARCHS%,$(OOO_STLPORT_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_GCJ_JDK_ARCHS%,$(OOO_GCJ_JDK_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_ARCH_DEP_EXTENSIONS_ARCHS%,$(OOO_ARCH_DEP_EXTENSIONS_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_REPORTDESIGN_ARCHS%,$(OOO_REPORTDESIGN_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_NO_REPORTDESIGN_ARCHS%,$(OOO_NO_REPORTDESIGN_ARCHS),g" debian/control
+
+ifeq (sk,$(findstring sk,$(HELPISOS)))
+ perl -pi -e 's/(Depends:.*)libreoffice-l10n-sk(.*)$$/\1libreoffice-l10n-sk, libreoffice-help-cs\2/' debian/control
+endif
+ifeq (pt-BR,$(findstring pt-BR,$(LANGPACKISOS)))
+ perl -pi -e 's/libreoffice2-l10n-pt-br$$/libreoffice2-l10n-pt-br, broffice/' debian/control
+ perl -pi -e 's/libreoffice2-l10n-pt-br$$/libreoffice2-l10n-pt-br, broffice/' debian/control
+ perl -pi -e 's/libreoffice2-l10n-pt-br$$/libreoffice2-l10n-pt-br, broffice/' debian/control
+endif
+ perl -pi -e 's/Package: libreoffice$(VER)-help-en-us/Package: libreoffice$(VER)-help-en-us\nReplaces: libreoffice$(VER)-common (<< 1:3.0.0~dev300m28)/' debian/control
+
+ifeq "$(ENABLE_GIO)" "y"
+ perl -pi -e 's/VFS/GIO/' debian/control
+ # fix up "GNOME GIO"
+ perl -pi -e 's/GNOME GIO/GIO/' debian/control
+endif
+
+ifneq "$(SQUEEZE_BACKPORT)" "y"
+ perl -pi -e "s/(Build-Conflicts: .*)/\1, base-files (= 6.0), base-files (= 6.0squeeze1)/" debian/control
+endif
+
+ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+ perl -pi -e "s/(Build-Conflicts: .*)/\1, libhsqldb-java (>= $(HSQLDB_TOONEWVER)~)/" debian/control
+endif
+
+ifeq (4.4,$(SYSTEM_GCC_VERSION))
+ perl -pi -e 's/flex \|/flex (>= 2.5.25-7) |/' debian/control
+endif
+
+ python debian/scripts/joinctrl.py < debian/control > debian/control.tmp
+ mv debian/control.tmp debian/control
+
+ifeq "$(VER)" ""
+ # no conflict with "universal Linux packages" as they have the version in their
+ # names thankfully now
+ perl -pi -e 's/libreoffice-unbundled, //' debian/control
+endif
+
+ # make -l10n-fi suggest libreoffice-spellcheck-fi to
+ # match myspell-fi and libreoffice-soikko/-voikko
+ perl -pi -e 's/myspell-dictionary-fi/myspell-dictionary-fi | libreoffice-spellcheck-fi/' debian/control
+ # similar for tr (libreoffice-zemberek)
+ perl -pi -e 's/myspell-dictionary-tr/myspell-dictionary-tr | libreoffice-spellcheck-tr/' debian/control
+
+ifeq "$(BUILD_KDE)" "y"
+ perl -pi -e 's/GConf backend$$/GConf backend\n * libreoffice$(VER)-kde: KDE UI Plugin and KDE File Picker support/' debian/control
+endif
+
+ifeq "$(ENABLE_LDAP)" "y"
+ perl -pi -e 's/paperconf$$/paperconf\n * $(LDAP_LIB): LDAP client library; needed for LibreOffice getting its\n profiles from LDAP/' debian/control
+endif
+
+ifneq "$(DICT_DIR)" "/usr/share/hunspell"
+ perl -pi -e 's/^Breaks:.*myspell.*\n//' debian/control
+endif
+
+.DELETE_ON_ERROR: debian/control
+
+build: build-arch build-indep
+build-arch: $(STAMP_DIR)/build
+build-indep: $(STAMP_DIR)/build
+
+# All 'important' targets have 2 lines. The one that is run by
+# dpkg-buildpackage or the user, and the one that does the actual work. This
+# indirection is needed so that the 'stamp' files that signify when a rule is
+# done can be located in a separate 'stampdir'. Recall that make has no way to
+# know when a goal has been met for a phony target (like "build" or "install").
+#
+# At the end of each stampdir target, be sure to run the command 'touch $@'
+# so that the target will not be run again. Removing the file will make
+# make run the target over.
+
+config.status:
+ dh_testdir
+
+ # Make sure needed scripts are executable
+ set -e;\
+ for FILE in debian/scripts/move-if-change \
+ debian/scripts/cleandupes \
+ debian/scripts/get_libebook_dep.sh \
+ autogen.sh; \
+ do \
+ chmod 755 $$FILE ;\
+ done
+
+ mkdir -p $(STAMP_DIR)
+
+ifneq ($(GCC_VERSION),)
+ ifneq ($(GCC_VERSION),snapshot)
+ # create links for gcc and g++ (and gij and gcj), ooo-build does not
+ # honour overriding CC and CXX and we need to use gcc/g++ 4.0 or /
+ # ant.mk wants gcj at the moment...
+ mkdir -p $(CURDIR)/debian/usr/bin
+ ln -sf /usr/bin/$(CC_PREFIX)gcc-$(GCC_VERSION) $(CURDIR)/debian/usr/bin/gcc
+ ln -sf /usr/bin/$(CC_PREFIX)g++-$(GCC_VERSION) $(CURDIR)/debian/usr/bin/g++
+ ln -sf /usr/bin/$(CC_PREFIX)gcc-$(GCC_VERSION) $(CURDIR)/debian/usr/bin/$(CC_PREFIX)gcc
+ ln -sf /usr/bin/$(CC_PREFIX)g++-$(GCC_VERSION) $(CURDIR)/debian/usr/bin/$(CC_PREFIX)g++
+ #ln -sf /usr/bin/$(CC_PREFIX)gcj-$(GCC_VERSION) $(CURDIR)/debian/usr/bin/gcj
+ #ln -sf /usr/bin/gij-$(GCC_VERSION) $(CURDIR)/debian/usr/bin/gij
+ else
+ ifneq "$(CC_PREFIX)" ""
+ mkdir -p $(CURDIR)/debian/usr/bin
+ ln -sf /usr/lib/gcc-snapshot/bin/$(CC_PREFIX)gcc $(CURDIR)/debian/usr/bin/gcc
+ ln -sf /usr/lib/gcc-snapshot/bin/$(CC_PREFIX)g++ $(CURDIR)/debian/usr/bin/g++
+ ln -sf /usr/lib/gcc-snapshot/bin/$(CC_PREFIX)gcj $(CURDIR)/debian/usr/bin/gcj
+ ln -sf /usr/lib/gcc-snapshot/bin/$(CC_PREFIX)gij $(CURDIR)/debian/usr/bin/gij
+ endif
+ endif
+endif
+
+ # Make sure we have /proc mounted - otherwise idlc will fail later.
+ test -r /proc/version
+
+ifneq "$(PACKAGE_UNOWINREG_DLL)" "y"
+ ifneq "$(BUILD_UNOWINREG_DLL)" "y"
+ # create fake file if file not there; we don't use it anyways.
+ if [ ! -f $(TARFILE_LOCATION)/185d60944ea767075d27247c3162b3bc-unowinreg.dll ]; then \
+ touch $(TARFILE_LOCATION)/185d60944ea767075d27247c3162b3bc-unowinreg.dll; \
+ fi
+ endif
+endif
+ # FIXME: Theoretically this should call ./configure instead of
+ # it exists but that causes the configure flags NOT to be hnoured
+ # somehow...
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) ./autogen.sh $(CONFIGURE_FLAGS)
+
+ touch $@
+
+build: $(STAMP_DIR)/build
+#$(STAMP_DIR)/build: config.status | src/fetch.log
+$(STAMP_DIR)/build: config.status
+ dh_testdir
+
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) build gb_FULLDEPS= gb_Deliver_HARDLINK=T
+
+ifeq "$(BUILD_PYUNO)" "y"
+ ifeq "$(ENABLE_PYTHON3)" "y"
+ # FIXME: won't work when pyuno is migrated to gbuild as all is directly in solver
+ # then...
+ rm -rf $(SOURCE_TREE)/pyuno-py3
+ cp -ra $(SOURCE_TREE)/pyuno $(SOURCE_TREE)/pyuno-py3
+ cd $(SOURCE_TREE)/pyuno-py3; \
+ rm -rf $(shell . $(SOURCE_TREE)/Env.Host.sh; echo $$OUTPATH$$PROEXT); \
+ . $(CURDIR)/$(SOURCE_TREE)/Env.Host.sh; \
+ PATH=$(BUILD_PATH) PYTHON=$(PYTHON3) PYTHON_CFLAGS=$(shell pkg-config --cflags python-$(PY3MAJOR).$(PY3MINOR)mu) PYTHON_LIBS=$(shell pkg-config --libs python-$(PY3MAJOR).$(PY3MINOR)mu) \
+ ../solenv/bin/build.pl # NO DELIVER!
+ endif
+endif
+
+ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ $(CURDIR)/debian/rules check
+endif
+
+ touch $@
+
+check:
+ifeq "$(RUN_MAKE_CHECK)" "y"
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
+ patch -p1 < $(CURDIR)/debian/patches/disable-db-tests.diff
+endif
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
+ cd $(SOURCE_TREE)/smoketest && \
+ patch -p1 < $(CURDIR)/debian/patches/smoketest-disable-extension-tests.diff
+endif
+
+ t=`mktemp -q -d`; \
+ cd $(SOURCE_TREE) && \
+ export PATH=$(BUILD_PATH); \
+ export TMPDIR=$$t; \
+ export HOME=$$t; \
+ export SAL_USE_VCLPLUGIN="svp"; \
+ if [ -x /usr/bin/gdb ]; then ulimit -c unlimited; fi && \
+ $(MAKE) -k check gb_FULLDEPS= gb_Deliver_HARDLINK=T && \
+ rm -rf $$t
+
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
+ patch -p1 -R < $(CURDIR)/debian/patches/disable-db-tests.diff
+endif
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
+ cd $(SOURCE_TREE)/smoketest && \
+ patch -p1 -R < $(CURDIR)/debian/patches/smoketest-disable-extension-tests.diff
+endif
+endif
+
+install: $(STAMP_DIR)/install
+$(STAMP_DIR)/install: $(STAMP_DIR)/build
+ dh_testdir
+ dh_testroot
+
+ if [ -x /usr/bin/dh_prep ]; then dh_prep; else dh_clean -k; fi
+ rm -f debian/*.install debian/*.dirs
+
+ # remove those for safety in case the languages might change on
+ # testbuilds. then the /*/ in dh_installdocs in binary-* won't work
+ # anymore (different dirs)
+ rm -rf $(SOURCE_TREE)/instsetoo_native/util/LibreOffice
+
+ rm -rf $(SOURCE_TREE)/file-lists
+
+ # install LibreOffice.
+ cd $(SOURCE_TREE)/; \
+ . $(CURDIR)/$(SOURCE_TREE)/Env.Host.sh; \
+ PATH=$(BUILD_PATH) \
+ DESTDIR=$(CURDIR)/debian/tmp \
+ $(MAKE) distro-pack-install
+ export DESTDIR=$(CURDIR)/debian/tmp ;\
+ export VERSION=$(OOVER); \
+ export OOINSTBASE=$(OODIR); \
+ export OOO_LANGS_LIST="$(ISOS)"; \
+ $(CURDIR)/debian/scripts/gid2pkgdirs.sh
+
+ # prepare install/dir files for dh
+ for i in `cd $(CURDIR)/debian/tmp/pkg; ls -1 | xargs`; do \
+ echo "$${i}/usr/* usr" > debian/$$i.install; \
+ if [ "$$i" = "libreoffice-common" ]; then \
+ echo "$${i}/etc/* etc" >> debian/$$i.install; \
+ fi; \
+ (cd debian/tmp/pkg/$$i; find . -type d | sed -e "s,\./,,") \
+ > debian/$$i.dirs; \
+ done
+
+ # the english resources should be in -common
+ cat debian/libreoffice-l10n-en-US.dirs >> debian/libreoffice-common.dirs
+ cat debian/libreoffice-l10n-en-US.install >> debian/libreoffice-common.install
+ rm -f debian/libreoffice-l10n-en-US.dirs debian/libreoffice-l10n-en-US.install
+
+ # and ca-XV in -ca...
+ifeq (ca-XV,$(findstring ca-XV,$(LANGPACKISOS)))
+ cat debian/libreoffice-l10n-ca-XV.dirs >> debian/libreoffice-l10n-ca.dirs
+ cat debian/libreoffice-l10n-ca-XV.install >> debian/libreoffice-l10n-ca.install
+ rm -f debian/libreoffice-l10n-ca-XV.dirs debian/libreoffice-l10n-ca-XV.install
+endif
+ifeq (ca-XV,$(findstring ca-XV,$(HELPISOS)))
+ cat debian/libreoffice-help-ca-XV.dirs >> debian/libreoffice-help-ca.dirs
+ cat debian/libreoffice-help-ca-XV.install >> debian/libreoffice-help-ca.install
+ rm -f debian/libreoffice-help-ca-XV.dirs debian/libreoffice-help-ca-XV.install
+endif
+
+ # fixup case (-l10n-pt-BR -> l10n-pt-br etc.)
+ for iso in $(ISOS); do \
+ pkgiso=`echo $$iso | tr A-Z a-z`; \
+ if [ "$$iso" != "$$pkgiso" ]; then \
+ if [ "$$iso" != "en-US" -a \
+ -e debian/libreoffice-l10n-$$iso.dirs -a \
+ -e debian/libreoffice-l10n-$$iso.install ]; then \
+ mv debian/libreoffice-l10n-$$iso.dirs \
+ debian/libreoffice-l10n-$$pkgiso.dirs; \
+ mv debian/libreoffice-l10n-$$iso.install \
+ debian/libreoffice-l10n-$$pkgiso.install; \
+ fi; \
+ if [ -e debian/libreoffice-help-$$iso.dirs -a \
+ -e debian/libreoffice-help-$$iso.install ]; then \
+ mv debian/libreoffice-help-$$iso.dirs \
+ debian/libreoffice-help-$$pkgiso.dirs; \
+ mv debian/libreoffice-help-$$iso.install \
+ debian/libreoffice-help-$$pkgiso.install; \
+ fi; \
+ fi; \
+ done
+
+ # fix up still sneaking in ./. They break dh_install (it installs
+ # but wrongly complains about it as not-installed files)
+ perl -pi -e 's,\./,,' debian/libreoffice$(VER)-common.install
+ perl -pi -e 's,\./,,' debian/ure.install
+
+ifneq "$(HELPISOS)" ""
+ # remove non-packaged localized help. This a) saves space
+ # and b) we need this for the following dh_install as there will be
+ # no .install files created and dh_install will warn/fail due
+ # to non-installed files.
+ for iso in $(filter-out en-US,$(LANGPACKISOS)); do \
+ if ! `echo $(HELPISOS) | grep -q $$iso` || [ "$$iso" = "sk" ] ; then \
+ pkgiso=`echo $$iso | tr A-Z a-z`; \
+ rm -rf debian/tmp/pkg/libreoffice-help-$$iso; \
+ rm -f debian/libreoffice-help-$$pkgiso.dirs; \
+ rm -f debian/libreoffice-help-$$pkgiso.install; \
+ fi; \
+ done
+endif
+
+ifneq "$(BUILD_BINFILTERS)" "y"
+ # somewhow there's a libreoffice-filter-binfilter here even when binfilter disabled.
+ # go sure.
+ rm -rf debian/tmp/pkg/libreoffice-filter-binfilter/usr/share/applications
+endif
+
+ dh_installdirs -A
+ dh_install -A --sourcedir=debian/tmp/pkg --fail-missing
+
+ rm -rf debian/tmp/pkg
+
+ # move desktop files to their correct packages
+ for i in base calc draw impress math writer binfilter; do \
+ if [ "$$i" = "binfilter" ]; then j=filter-binfilter; else j=$$i; fi; \
+ mkdir -p $(PKGDIR)-$$j/$(OODIR)/share/xdg; \
+ mv $(PKGDIR)-common/$(OODIR)/share/xdg/$$i.desktop \
+ $(PKGDIR)-$$j/$(OODIR)/share/xdg; \
+ done
+
+ # move help to /usr/share
+ for iso in $(HELPISOS); do \
+ pkgiso=`echo $$iso | tr A-Z a-z`; \
+ if [ -e $(PKGDIR)-help-$$pkgiso/usr ]; then \
+ mv $(PKGDIR)-help-$$pkgiso/usr/lib \
+ $(PKGDIR)-help-$$pkgiso/usr/share; \
+ fi; \
+ done
+
+ifeq (sk,$(findstring sk,$(HELPISOS)))
+ # add fake sk help
+ mkdir -p $(PKGDIR)-help-sk/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+ ln -s cs \
+ $(PKGDIR)-help-sk/$(shell echo $(OODIR) | sed -e s/lib/share/)/help/sk
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ # move officebean.jar into -officebean (They will be moved out of -core
+ # in the install-arch target). Do the /usr/share move here already
+ mkdir -p $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes; \
+ mv $(PKGDIR)-common/$(OODIR)/program/classes/officebean.jar \
+ $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ # fix the classpath
+ jh_classpath --classpath="ridl.jar unoil.jar jurt.jar juh.jar" \
+ $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/officebean.jar
+
+ ifeq "$(PACKAGE_BASE)" "y"
+ # move sdbc_hsqldb.jar into -base (do the move
+ # to /usr/share/java here directly, we do it for the "rest"
+ # later
+ mkdir -p $(PKGDIR)-base/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes; \
+ mkdir -p $(PKGDIR)-base/$(OODIR)/program/classes; \
+ mv $(PKGDIR)-common/$(OODIR)/program/classes/sdbc_hsqldb.jar \
+ $(PKGDIR)-base/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes; \
+ ln -s $(shell echo /$(OODIR) | sed -e s/lib/share/)/program/classes/sdbc_hsqldb.jar \
+ $(PKGDIR)-base/$(OODIR)/program/classes/sdbc_hsqldb.jar
+
+ ifeq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+ # we need this in -base. Otherwise we get unwanted package differences
+ # in the unstable version and backports which might use internal hsqldb
+ mkdir -p $(PKGDIR)-base/$(OODIR)/program/classes
+ mv $(PKGDIR)-common/$(OODIR)/program/classes/hsqldb.jar \
+ $(PKGDIR)-base/$(OODIR)/program/classes
+ endif
+ else
+ # remove sdbc_hsqldb.jar. otherwise ends up in -java-common
+ rm -f $(PKGDIR)-common/$(OODIR)/program/classes/sdbc_hsqldb.jar
+ endif
+endif
+
+ifeq "$(BUILD_GTK)" "y"
+ # Gtk quickstarter, so to -gtk (via -gnome)
+ mkdir -p -m755 $(PKGDIR)-gnome/$(OODIR)/share/xdg
+ mv $(PKGDIR)-common/$(OODIR)/share/xdg/qstart.desktop \
+ $(PKGDIR)-gnome/$(OODIR)/share/xdg
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+ # move SDK documentation into own package
+ rm -rf $(PKGDIR)-dev-doc
+ mkdir -p $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev/docs
+ mv $(PKGDIR)-dev/usr/share/doc/libreoffice/sdk/docs/* \
+ $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev/docs
+ rmdir $(PKGDIR)-dev/usr/share/doc/libreoffice/sdk/docs
+ mkdir -p $(PKGDIR)-dev-doc/$(OOSDKDIR)
+ ln -sf /usr/share/doc/libreoffice-dev/docs \
+ $(PKGDIR)-dev/$(OOSDKDIR)/docs
+ mv $(PKGDIR)-dev/$(OOSDKDIR)/examples \
+ $(PKGDIR)-dev-doc/$(OOSDKDIR)
+endif
+
+ # fixup ure-link symlink. The move is done in install-arch
+ # but the link is in -common so we need to do it here.
+ cd $(PKGDIR)-common/$(OODIR) && \
+ rm ure-link && ln -sf /$(OOUREDIR) ure-link
+
+ifeq "$(ENABLE_EVO2)" "y"
+ mkdir -p $(PKGDIR)-evolution/$(OODIR)/presets/database
+ mkdir -p $(PKGDIR)-evolution/$(OODIR)/share/registry
+ mv $(PKGDIR)-common/$(OODIR)/presets/database/evolocal.odb \
+ $(PKGDIR)-evolution/$(OODIR)/presets/database
+endif
+
+ find debian/tmp ! -perm -200 | xargs -r chmod u+w
+
+ touch $@
+
+#
+# Generate maintainer scripts
+maintscripts: $(STAMP_DIR)/maintscripts
+$(STAMP_DIR)/maintscripts: $(wildcard debian/shell-lib*.sh) $(wildcard debian/*.preinst.in) $(wildcard debian/*.postinst.in) $(wildcard debian/*.prerm.in) $(wildcard debian/*.postrm.in) debian/vars.$(DEB_HOST_ARCH) debian/control
+ dh_testdir
+
+ rm -f debian/*.{pre,post}{inst,rm}
+
+ # generate maintainer scripts from *.in
+ for PKG in $(PACKAGES); do \
+ for FILE in postinst postrm preinst prerm triggers; do \
+ MAINTSCRIPT=debian/$$PKG.$$FILE ; \
+ if [ -e $$MAINTSCRIPT.in ]; then \
+ sed -n '1,/^#INCLUDE_SHELL_LIB#$$/p' < $$MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' > $$MAINTSCRIPT; \
+ if echo $(ARCH_DEP_PACKAGES) | grep -q $$PKG && [ "$$FILE" != "triggers" ]; then \
+ grep PLATFORMID debian/vars.$(DEB_HOST_ARCH) >> $$MAINTSCRIPT; \
+ fi; \
+ echo "" >> $$MAINTSCRIPT; \
+ if egrep -q "(add|remove|validate|sync)_extension" $$MAINTSCRIPT.in; then \
+ cat debian/shell-lib-extensions.sh >> $$MAINTSCRIPT; \
+ fi; \
+ sed -n '/^#INCLUDE_SHELL_LIB#$$/,$$p' < $$MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >> $$MAINTSCRIPT; \
+ perl -pi -e "s/\@LANGPACKISOS\@/$(LANGPACKISOS)/" $$MAINTSCRIPT; \
+ perl -pi -e "s,\@OODIR\@,$(OODIR),g" $$MAINTSCRIPT; \
+ perl -pi -e "s/\@VER\@/$(VER)/g" $$MAINTSCRIPT; \
+ fi; \
+ done; \
+ done
+
+ touch $@
+
+# Install files generated by setup into package directories
+langpacks: $(STAMP_DIR)/langpacks
+$(STAMP_DIR)/langpacks: $(STAMP_DIR)/install $(STAMP_DIR)/install-indep $(SOURCE_TREE)/bin/lo-xlate-lang
+
+ # remove empty uno_packages dirs somehow in the langpacks(?)
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/share/uno_packages; \
+ done
+
+ # remove ooo dirs somehow in the langpacks(?)
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/share/dict/ooo; \
+ done
+
+ # remove extra license files
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/licenses; \
+ rm -f $(PKGDIR)-l10n-$$iso/$(OODIR)/share/readme/LICENSE*; \
+ done
+
+ # remove extra readme files
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/readmes; \
+ rm -f $(PKGDIR)-l10n-$$iso/$(OODIR)/share/readme/README*; \
+ done
+
+ # remove empty help directories
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(shell echo $(OODIR) | sed -e s/lib/share/)/help; \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/help; \
+ done
+
+ # install technical.dic
+ for iso in $(LANGPACKISOS); do \
+ if [ "$$iso" = "en-US" ]; then pkg=common; \
+ elif [ "$$iso" = "ca-XV" ]; then pkg=l10n-ca; else pkg=l10n-`echo $$iso | tr A-Z a-z`; \
+ fi; \
+ mkdir -p $(PKGDIR)-$$pkg/$(OODIR)/share/wordbook/$$iso; \
+ install -m644 $(SOURCE_TREE)/extras/source/wordbook/technical.dic \
+ $(PKGDIR)-$$pkg/$(OODIR)/share/wordbook/$$iso/technical.dic; \
+ done
+
+ # replace duplicate files in the langpacks with symlinks
+ TMP=`mktemp -q`; \
+ fdupes --quiet --recurse --sameline --size \
+ debian/libreoffice$(VER)-common/$(OODIR) \
+ $(foreach d,$(shell echo $(filter-out en-US ca-XV,$(LANGPACKISOS)) | tr A-Z a-z),debian/libreoffice$(VER)-l10n-$(d)/$(OODIR)) \
+ > $$TMP && \
+ debian/scripts/cleandupes --base=libreoffice$(VER) --prefix=debian < $$TMP && rm -f $$TMP
+
+ifeq "$(DEB_VENDOR)" "Debian"
+ # install Debian presentation template
+ otps=`cd debian/templates; echo *.otp`; \
+ for iso in $(LANGPACKISOS); do \
+ [ "$$iso" = "en-US" ] && continue; \
+ pkgiso=`echo $$iso | tr \[:upper:\] \[:lower:\]`; \
+ [ "$$pkgiso" = "ca-xv" ] && pkgiso=ca; \
+ mkdir -p $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt; \
+ for otp in $$otps; do \
+ ln -sf ../../en-US/presnt/$$otp \
+ $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt/$$odt; \
+ done; \
+ done
+endif
+
+ifeq (he,$(findstring he,$(LANGPACKISOS)))
+ perl -pi -e 's#<prop oor:name="CTLSequenceChecking"><value>true</value></prop>#<prop oor:name="CTLSequenceChecking"><value>false</value></prop>#' $(PKGDIR)-l10n-he/$(OODIR)/share/registry/ctl_he.xcd
+endif
+
+ touch $@
+
+native-jars: $(STAMP_NATIVE_JARS)
+$(STAMP_NATIVE_JARS): $(STAMP_DIR)/install
+ifeq "$(BUILD_JARS_NATIVE)" "y"
+ rm -rf debian/tmp/native-jars
+ mkdir -p debian/tmp/native-jars/gcj
+ cp -a \
+ $(PKGDIR)-common/$(OODIR)/program/classes/*.jar \
+ debian/tmp/native-jars/
+ cp -a \
+ $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/*.jar \
+ debian/tmp/native-jars/
+ifeq "$(PACKAGE_BASE)" "y"
+ cp -a \
+ $(PKGDIR)-base/$(OODIR)/program/classes/*.jar \
+ debian/tmp/native-jars/
+endif
+ : # remove problematic ones
+ rm -f debian/tmp/native-jars/ridl.jar
+ifneq "$(USE_SYSTEM_SAXON)" "y"
+ rm -f debian/tmp/native-jars/saxon9.jar
+endif
+ : # compile the others
+ # the Debian i386 buildd, although having much ram still OOMs without
+ # this (at unoil.jar).
+ # Also the native jar build is MUCH faster with this. But it
+ # won't be accepted into the official java-gcj-compat package so this
+ # hack here is needed.
+ if [ -e /usr/lib/gcc/aotcompile.py ]; then \
+ aotcompile_py=/usr/lib/gcc/aotcompile.py; \
+ elif [ -e /usr/share/pyshared/aotcompile.py ]; then \
+ aotcompile_py=/usr/share/pyshared/aotcompile.py; \
+ fi && \
+ cp $$aotcompile_py debian/scripts
+ cd debian/scripts && \
+ patch -p0 < $(CURDIR)/debian/aotcompile-256M-default.diff
+ PYTHONPATH="debian/scripts:$(shell echo $(PYTHON_SITE) | sed -e s,debian/python-uno,,)" \
+ AOT_MAKEFLAGS=-j$(NUM_CPUS) aot-compile -L /usr/lib/gcj/$(OODIRNAME) \
+ debian/tmp/native-jars debian/tmp/native-jars/gcj
+ gcj-dbtool -n debian/tmp/native-jars/tmp.db 64
+ find debian/tmp/native-jars/gcj -name '*.db' -print0 \
+ | xargs -r -0 \
+ gcj-dbtool -m debian/tmp/native-jars/tmp.db debian/tmp/native-jars/tmp.db || exit 1
+ rm -f debian/tmp/native-jars/gcj/*.db
+endif
+ touch $@
+
+# Install files generated by setup into arch-dependent package directories
+install-arch: $(STAMP_DIR)/install-arch
+$(STAMP_DIR)/install-arch: $(STAMP_DIR)/install $(STAMP_NATIVE_JARS)
+ dh_testdir
+ dh_testroot
+ umask 022
+
+ # move the URE to /usr/lib/ure
+ mv debian/ure/$(OODIR)/ure debian/ure/usr/lib
+ chmod 644 debian/ure/$(OOUREDIR)/lib/unorc
+ rmdir debian/ure/$(OODIR)
+ # move URE Java stuff to /usr/share/java
+ mkdir -p debian/ure/usr/share/java
+ifeq "$(ENABLE_JAVA)" "y"
+ mv debian/ure/$(OOUREDIR)/share/java/* \
+ debian/ure/usr/share/java
+ cd debian/ure/$(OOUREDIR)/share/java && \
+ for i in $(CURDIR)/debian/ure/usr/share/java/*.jar; do \
+ ln -sf `echo $$i | sed -e 's,$(CURDIR)/debian/ure,,'` `basename $$i`; \
+ done
+ # fix up Class-Path of jurt.jar to be able to find libjpipe.so.
+ # See See http://www.openoffice.org/servlets/ReadMsg?list=dev&msgNo=27765
+ jh_classpath --classpath="ridl.jar unoloader.jar ../../lib /$(OOUREDIR)/lib/ ../bin/" \
+ $(CURDIR)/debian/ure/usr/share/java/jurt.jar
+endif
+ # and the public libs to uno-libs3
+ mkdir -p debian/uno-libs3/$(OOUREDIR)/lib
+ for i in debian/ure/$(OOUREDIR)/lib/libuno_*so.3; do \
+ mv $$i debian/uno-libs3/$(OOUREDIR)/lib; \
+ ln -sf /$(OOUREDIR)/lib/`basename $$i` debian/uno-libs3/usr/lib/`basename $$i`; \
+ done
+
+ifeq "$(BUILD_KDE)" "y"
+ # install files for KDEs "create new" ...
+ mkdir -p $(PKGDIR)-kde/usr/share/templates/.source
+ for i in $(SOURCE_TREE)/extras/source/shellnew/*; do \
+ cp $$i $(PKGDIR)-kde/usr/share/templates/.source/`basename $$i`; \
+ done
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Writer/" \
+ | sed -e "s/@EXT@/odt/" \
+ | sed -e "s/@TYPE@/text/" \
+ > $(PKGDIR)-kde/usr/share/templates/soffice.odt.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Calc/" \
+ | sed -e "s/@EXT@/ods/" \
+ | sed -e "s/@TYPE@/spreadsheet/" \
+ > $(PKGDIR)-kde/usr/share/templates/soffice.ods.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Impress/" \
+ | sed -e "s/@EXT@/odp/" \
+ | sed -e "s/@TYPE@/presentation/" \
+ > $(PKGDIR)-kde/usr/share/templates/soffice.odp.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Draw/" \
+ | sed -e "s/@EXT@/odg/" \
+ | sed -e "s/@TYPE@/drawing/" \
+ > $(PKGDIR)-kde/usr/share/templates/soffice.odg.desktop
+endif
+
+ # split out gtk stuff
+ rm -rf $(PKGDIR)-gtk
+ mkdir -p -m755 $(PKGDIR)-gtk/$(OODIR)/program
+ifeq "$(BUILD_GTK3)" "y"
+ rm -rf $(PKGDIR)-gtk3
+ mkdir -p -m755 $(PKGDIR)-gtk3/$(OODIR)/program
+ mv $(PKGDIR)-gnome/$(OODIR)/program/libvclplug_gtk3lo.so $(PKGDIR)-gtk3/$(OODIR)/program/
+endif
+ mv $(PKGDIR)-gnome/$(OODIR)/program/* $(PKGDIR)-gtk/$(OODIR)/program/
+ifeq "$(BUILD_GTK)" "y"
+ mkdir -p -m755 $(PKGDIR)-gtk/$(OODIR)/share
+ mv $(PKGDIR)-gnome/$(OODIR)/share/xdg $(PKGDIR)-gtk/$(OODIR)/share
+ ifeq "$(ENABLE_GIO)" "y"
+ mv $(PKGDIR)-gtk/$(OODIR)/program/ucpgio1.uno.so \
+ $(PKGDIR)-gnome/$(OODIR)/program/
+ endif
+ ifeq "$(ENABLE_GVFS)" "y"
+ mv $(PKGDIR)-gtk/$(OODIR)/program/ucpgvfs1.uno.so \
+ $(PKGDIR)-gnome/$(OODIR)/program/
+ endif
+ ifeq "$(ENABLE_GCONF)" "y"
+ mv $(PKGDIR)-gtk/$(OODIR)/program/gconfbe* \
+ $(PKGDIR)-gnome/$(OODIR)/program
+ endif
+endif
+
+ifeq "$(ENABLE_EVO2)" "y"
+ mkdir -p -m755 $(PKGDIR)-evolution/$(OODIR)/program
+ mv $(PKGDIR)-gtk/$(OODIR)/program/libevoab*.so $(PKGDIR)-evolution/$(OODIR)/program
+ mv $(PKGDIR)-gnome/$(OODIR)/share/registry/evoab.xcd \
+ $(PKGDIR)-evolution/$(OODIR)/share/registry
+ # FIXME: When the rdb is correctly generated, move here, too.
+endif
+
+ifeq "$(PACKAGE_NSPLUGIN)" "y"
+ mkdir -p -m755 debian/mozilla-libreoffice$(VER)/$(OODIR)/program
+ for f in libnpsoplugin.so nsplugin; do \
+ mv $(PKGDIR)-core/$(OODIR)/program/$$f debian/mozilla-libreoffice$(VER)/$(OODIR)/program; \
+ done
+ cd debian/mozilla-libreoffice$(VER) && \
+ mkdir -p usr/lib/mozilla/plugins && \
+ ln -sf /$(OODIR)/program/libnpsoplugin.so \
+ usr/lib/mozilla/plugins/libnpsoplugin.so
+endif
+
+ifeq "$(PACKAGE_BASE)" "y"
+ mkdir -p $(PKGDIR)-base-core/$(OODIR)/program
+ mv $(PKGDIR)-base/$(OODIR)/program/libdbalo.so \
+ $(PKGDIR)-base-core/$(OODIR)/program
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+ # link to system hsqldb
+ mkdir -p $(PKGDIR)-base/$(OODIR)/program/classes
+ ln -sf /usr/share/java/hsqldb.jar \
+ $(PKGDIR)-base/$(OODIR)/program/classes/hsqldb.jar
+ endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ rm -rf $(PKGDIR)-officebean
+ mkdir -p -m755 $(PKGDIR)-officebean/$(OODIR)/program/classes
+ mkdir -p -m755 $(PKGDIR)-officebean/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ mv $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/officebean.jar \
+ $(PKGDIR)-officebean/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ ln -s $(shell echo /$(OODIR) | sed -e s/lib/share/)/program/classes/officebean.jar \
+ $(PKGDIR)-officebean/$(OODIR)/program/classes/officebean.jar
+ mv $(PKGDIR)-core/$(OODIR)/program/libofficebean.so \
+ $(PKGDIR)-officebean/$(OODIR)/program
+endif
+
+ mkdir -p -m755 $(PKGDIR)-base/usr/share/applications \
+ $(PKGDIR)-core/usr/share/applications
+
+ for f in `find debian -name 'xdg/*.desktop' ! -name "*soffice.od*"`; do \
+ if ! grep -q X-KDE-Protocols $$f; then \
+ echo 'X-KDE-Protocols=file,http,smb,ftp,webdav' >> $$f; \
+ fi; \
+ done
+ sed -i -e 's/Office;/Office;Graphics;/' $(PKGDIR)-draw/$(OODIR)/share/xdg/draw.desktop
+ # invalid, according to lintian. make it shut up.
+ for i in writer calc impress draw math base; do \
+ perl -pi -e 's/Application;//; s/X-Red-Hat-Base;//; s/X-SuSE-Core-Office;//; s/X-MandrivaLinux-.*;//;' $(PKGDIR)-$$i/$(OODIR)/share/xdg/$$i.desktop; \
+ done
+ perl -pi -e 's/Application;//' $(PKGDIR)-gtk/$(OODIR)/share/xdg/qstart.desktop
+ # add version to .menu and .lintian-overrides
+ for i in base calc draw impress math writer; do \
+ cat debian/libreoffice$(VER)-$$i.menu.in \
+ | sed -e s/@VER@/$(VER)/ \
+ > debian/libreoffice$(VER)-$$i.menu; \
+ done; \
+ for i in base calc core draw impress math writer; do \
+ cat debian/libreoffice$(VER)-$$i.lintian-overrides.in \
+ | sed -e s/@VER@/$(VER)/ \
+ > debian/libreoffice$(VER)-$$i.lintian-overrides; \
+ done
+
+ifeq "$(BUILD_PYUNO)" "y"
+ # PyUNO packaging
+ install -d $(PYTHON_SITE)
+ mv debian/python-uno/$(OODIR)/program/uno.py $(PYTHON_SITE)
+ mv debian/python-uno/$(OODIR)/program/unohelper.py $(PYTHON_SITE)
+ touch debian/python-uno/$(OODIR)/program/pythonloader.unorc
+ chmod u+w debian/python-uno/$(OODIR)/program/pythonloader.unorc
+ ( echo '[Bootstrap]'; \
+ echo 'PYTHONHOME=file:///usr/lib/python$(PYMAJOR).$(PYMINOR)' ;\
+ echo 'PYTHONPATH=$$PYTHONHOME $$PYTHONHOME/site-packages $$PYTHONHOME/lib-dynload $$PYTHONHOME/lib-tk $$ORIGIN' \
+ ) > debian/python-uno/$(OODIR)/program/pythonloader.unorc
+ chmod u-w debian/python-uno/$(OODIR)/program/pythonloader.unorc
+ ifeq "$(ENABLE_PYTHON3)" "y"
+ install -d $(PYTHON3_SITE)
+ cp $(PYTHON_SITE)/uno.py \
+ $(PYTHON3_SITE)
+ cp $(PYTHON_SITE)/unohelper.py \
+ $(PYTHON3_SITE)
+ mkdir -p debian/python3-uno/$(OODIR)/program
+ mkdir -p debian/python3-uno/$(OODIR)/share/registry
+ mkdir -p debian/python3-uno/$(OODIR)/share/Scripts
+ cat debian/python-uno/$(OODIR)/program/pythonloader.unorc \
+ | sed -e "s/$(PYMAJOR).$(PYMINOR)/$(PY3MAJOR).$(PY3MINOR)/" \
+ > debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+ for i in pyuno.so pythonloader.uno.so libpyuno.so; do \
+ install -m644 $(SOURCE_TREE)/pyuno-py3/$(shell . $(SOURCE_TREE)/Env.Host.sh; echo $$OUTPATH$$PROEXT)/lib/$$i \
+ debian/python3-uno/$(OODIR)/program/$$i; \
+ done
+ cp debian/python-uno/$(OODIR)/program/pythonloader.py \
+ debian/python3-uno/$(OODIR)/program
+ cp debian/python-uno/$(OODIR)/share/registry/pyuno.xcd \
+ debian/python3-uno/$(OODIR)/share/registry
+ cp -r debian/python-uno/$(OODIR)/share/Scripts/python \
+ debian/python3-uno/$(OODIR)/share/Scripts
+ endif
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_PYTHON)" "y"
+ rm -f debian/libreoffice$(VER)-script-provider-python/$(OODIR)/share/extensions/script-provider-for-python/registration/LICENSE
+ endif
+
+ mkdir -p debian/python-uno/usr/share/doc/python-uno
+ cp -r $(SOURCE_TREE)/pyuno/demo \
+ debian/python-uno/usr/share/doc/python-uno; \
+ for i in $(SOURCE_TREE)/pyuno/doc/*; do \
+ cp $$i debian/python-uno/usr/share/doc/python-uno; \
+ done
+ cd debian/python-uno/usr/share/doc/python-uno && \
+ find . -type d -name "CVS" | xargs -r rm -rf
+ ifeq "$(ENABLE_PYTHON3)" "y"
+ mkdir -p debian/python3-uno/usr/share/doc/python3-uno
+ cp -r $(SOURCE_TREE)/pyuno/demo \
+ debian/python3-uno/usr/share/doc/python3-uno; \
+ for i in $(SOURCE_TREE)/pyuno/doc/*; do \
+ cp $$i debian/python3-uno/usr/share/doc/python3-uno; \
+ done
+ cd debian/python3-uno/usr/share/doc/python3-uno && \
+ find . -type d -name "CVS" | xargs -r rm -rf
+ endif
+endif
+
+ # should be empty now, remove if there
+ rm -rf $(PKGDIR)-core/$(OODIR)/ure
+
+ifeq "$(PACKAGE_SDK)" "y"
+ ifeq "$(ENABLE_JAVA)" "y"
+ # compat/safety symlink for SDK Java stuff moved to /usr/share
+ rm -f $(PKGDIR)-dev/$(OOSDKDIR)/classes
+ mkdir -p $(PKGDIR)-dev/$(OOSDKDIR)/classes/com/sun/star/lib/loader
+ cd $(PKGDIR)-dev/$(OOSDKDIR)/classes/com/sun/star/lib/loader && \
+ for i in $(CURDIR)/$(PKGDIR)-dev/$(shell echo $(OOSDKDIR) | sed -e s/lib/share/)/classes/com/sun/star/lib/loader/*.class; do \
+ ln -s `echo $$i | sed -e 's,$(CURDIR)/$(PKGDIR)-dev,,'` `basename $$i`; \
+ done
+ ifeq "$(PACKAGE_UNOWINREG_DLL)" "y"
+ mkdir -p $(PKGDIR)-dev/$(OOSDKDIR)/classes/win
+ chmod 644 $(PKGDIR)-dev/$(shell echo $(OOSDKDIR) | sed -e s/lib/share/)/classes/win/unowinreg.dll
+ ln -s /$(shell echo $(OOSDKDIR) | sed -e s/lib/share/)/classes/win/unowinreg.dll \
+ $(PKGDIR)-dev/$(OOSDKDIR)/classes/win/unowinreg.dll
+ else
+ rm -rf $(PKGDIR)-dev/$(shell echo $(OOSDKDIR) | sed -e s/lib/share/)/classes/win
+ endif
+ endif
+ chmod 644 $(PKGDIR)-dev/$(OOSDKDIR)/configure.pl
+ for i in csh csh.in; do \
+ perl -pi -e 's,/usr/bin/csh,/bin/csh,'\
+ $(PKGDIR)-dev/$(OOSDKDIR)/setsdkenv_unix.$$i; \
+ done
+ chmod 755 $(PKGDIR)-dev/$(OOSDKDIR)/setsdkenv_unix
+ # create wrapper scripts
+ cd $(PKGDIR)-dev/$(OOSDKDIR)/bin && \
+ for i in *; do \
+ mv $$i $$i.bin && \
+ ( \
+ echo "#!/bin/sh"; \
+ echo "# wrapper script for OOos SDK programs"; \
+ echo ""; \
+ echo 'LD_LIBRARY_PATH=/$(OOUREDIR)/lib /$(OOSDKDIR)/bin/`basename $$0`.bin "$$@"'; \
+ ) > $$i; \
+ chmod 755 $$i; \
+ done
+ # remove symlink, it should be in -dev-doc
+ cd $(PKGDIR)-dev/$(OOSDKDIR) && \
+ rm docs
+
+ # install gsicheck into -dev
+ mkdir -p $(PKGDIR)-dev/$(OODIR)/program
+ install -m755 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/Env.Host.sh; echo $$OUTPATH$$PROEXT)/bin/gsicheck \
+ $(PKGDIR)-dev/$(OODIR)/program/gsicheck.bin
+ ( \
+ echo '#! /bin/sh'; \
+ echo 'LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}/$(OODIR)/program'; \
+ echo 'export LD_LIBRARY_PATH'; \
+ echo 'exec /$(OODIR)/program/gsicheck.bin "$$@"'; \
+ ) > $(PKGDIR)-dev/$(OODIR)/program/gsicheck
+ chmod 755 $(PKGDIR)-dev/$(OODIR)/program/gsicheck
+
+ # fix permissions
+ find $(PKGDIR)-dev/usr/share/idl/$(OODIRNAME) -type f -exec chmod 644 {} \;
+
+endif
+
+ifeq "$(LINK_TO_STLPORT)" "y"
+ rm -f debian/ure/$(OOUREDIR)/lib/libstlport*
+ ln -s `readlink -f /usr/lib/libstlport_gcc.so` \
+ debian/ure/$(OOUREDIR)/lib/libstlport_gcc.so
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(BUILD_JARS_NATIVE)" "y"
+ rm -rf $(PKGDIR)-gcj/usr/lib/gcj
+ mkdir -p $(PKGDIR)-gcj/usr/lib/gcj/$(OODIRNAME)
+ cp -p debian/tmp/native-jars/gcj/* $(PKGDIR)-gcj/usr/lib/gcj/$(OODIRNAME)
+ mkdir -p $(PKGDIR)-gcj/usr/share/gcj/classmap.d
+ cp -p debian/tmp/native-jars/tmp.db \
+ $(PKGDIR)-gcj/usr/share/gcj/classmap.d/libreoffice.db
+ endif
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+ ifeq "$(ENABLE_JAVA)" "y"
+ # install the UNO Java sources for e.g. eclipse
+ mkdir -p $(CURDIR)/$(PKGDIR)-dev/usr/share/java
+ cd $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$OUTPATH$$PROEXT)/bin && \
+ for i in juh jurt jut ridl unoloader; do \
+ cp $${i}_src.zip \
+ $(CURDIR)/$(PKGDIR)-dev/usr/share/java; \
+ done
+ endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ # hrmpf, again something like that, we really need to find the root cause for that
+ ln -s libjava_uno.so \
+ debian/ure/$(OOUREDIR)/lib/libjava_uno
+endif
+
+ # remove empty resource directories
+ for i in draw base writer impress calc math; do \
+ rm -rf $(PKGDIR)-$$i/$(OODIR)/program/resource; \
+ done
+
+ifneq "$(ENABLE_REPORTDESIGN)" "y"
+ # unneeded. a no-Java arch, so the report-builder can't work anyway.
+ # (and we need to remove it here anyway as it otherwise would end up
+ # in -base)
+ rm -f $(PKGDIR)-base/$(OODIR)/program/librpt*
+else
+ ifeq "$(PACKAGE_BASE)" "y"
+ # move rpt stuff into -report-builder-bin
+ rm -rf $(PKGDIR)-report-builder-bin
+ mkdir -p $(PKGDIR)-report-builder-bin/$(OODIR)/program
+ mv $(PKGDIR)-base/$(OODIR)/program/librpt* \
+ $(PKGDIR)-report-builder-bin/$(OODIR)/program
+ endif
+endif
+
+ifeq "$(ENABLE_MINIMIZER)" "y"
+ rm -f $(PKGDIR)-presentation-minimizer/$(OODIR)/share/extensions/presentation-minimizer/registration/LICENSE
+endif
+
+ifeq "$(ENABLE_MYSQLNATIVE)" "y"
+ rm -f $(PKGDIR)-mysql-connector/$(OODIR)/share/extensions/mysql-connector-ooo/registration/LICENSE
+endif
+
+ifeq "$(ENABLE_PDFIMPORT)" "y"
+ rm -f $(PKGDIR)-pdfimport/$(OODIR)/share/extensions/pdfimport/registration/LICENSE
+endif
+
+ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ rm -f $(PKGDIR)-wiki-publisher/$(OODIR)/share/extensions/wiki-publisher/registration/LICENSE
+endif
+
+#ifeq "$(PACKAGE_SDK)" "y"
+# # install gengal stuff into -dev
+# mkdir -p $(PKGDIR)-dev/$(OODIR)/program
+# install -m755 $(SOURCE_TREE)/svx/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$OUTPATH$$PROEXT)/bin/gengal \
+# $(PKGDIR)-dev/$(OODIR)/program/gengal
+# install -m755 $(SOURCE_TREE)/svx/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$OUTPATH$$PROEXT)/bin/gengal.bin \
+# $(PKGDIR)-dev/$(OODIR)/program/gengal.bin
+#endif
+
+ for i in $(ARCH_DEP_PACKAGES); do \
+ if [ -e debian/$$i.bug-script.in ]; then \
+ cat debian/$$i.bug-script.in \
+ | sed -e "s/@PLATFORMID@/$(PLATFORMID)/" \
+ > debian/$$i.bug-script; \
+ fi ;\
+ done
+ # generate .links files from *.in
+ for PKG in $(ARCH_DEP_PACKAGES); do \
+ LINKS=debian/$$PKG.links ; \
+ if [ -e $$LINKS.in ]; then \
+ sed -e "s#\@OODIR\@#$(OODIR)#g" \
+ < $$LINKS.in > $$LINKS ; \
+ fi; \
+ done
+ for PKG in $(ARCH_DEP_PACKAGES); do \
+ case $$PKG in \
+ python-uno|uno-libs*|ure*) \
+ ;; \
+ *) \
+ cat debian/changelog \
+ | sed -e '/^openoffice/,$$d' \
+ > debian/$$PKG.changelog; \
+ ;; \
+ esac; \
+ done
+
+ touch $@
+
+# Install files generated by setup into arch-independent package directories
+install-indep: $(STAMP_DIR)/install-indep
+#$(STAMP_DIR)/install-indep: debian/libreoffice$(VER).install
+#$(STAMP_DIR)/install-indep: debian/libreoffice$(VER)-mimelnk.install
+#$(STAMP_DIR)/install-indep: debian/libreoffice$(VER).dirs
+$(STAMP_DIR)/install-indep: $(STAMP_DIR)/install
+ dh_testdir
+ dh_testroot
+
+ # split out emailmerge stuff
+ mkdir -p $(PKGDIR)-emailmerge/$(OODIR)/program
+ for i in mailmerge msgbox officehelper; do \
+ mv $(PKGDIR)-common/$(OODIR)/program/$$i.py \
+ $(PKGDIR)-emailmerge/$(OODIR)/program; \
+ done
+
+ifneq "$(USE_GSTREAMER)" "y"
+ # sound doesn't work anyway, remove the .wav files to save space
+ rm -rf $(PKGDIR)-common/$(OODIR)/share/gallery/sounds
+ rm -f $(PKGDIR)-common/$(OODIR)/share/gallery/sg9.*
+endif
+
+ rm -f $(PKGDIR)-common/$(OODIR)/program/oo_product.bmp
+
+ # install openoffice-xlate-lang
+ install -d -m755 $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin
+ install -m755 $(SOURCE_TREE)/bin/lo-xlate-lang \
+ $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin
+
+ifeq "$(HELPISOS)" ""
+ # when we don't build helpcontent2 here we are missing helpxsl.zip so
+ # this file doesn't get installed either. Do it manually..
+ mkdir -p -m755 $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help && \
+ cp $(SOURCE_TREE)/helpcontent2/source/auxiliary/main_transform.xsl \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+ cp $(SOURCE_TREE)/helpcontent2/source/auxiliary/idxcaption.xsl \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+ cp $(SOURCE_TREE)/helpcontent2/source/auxiliary/idxcontent.xsl \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+ rm -f $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev-doc/LICENSE
+ perl -pi -e 's,license.html,http://www.gnu.org/licenses/lgpl.html,' \
+ $(PKGDIR)-dev-doc/$(OOSDKDIR)/index.html
+ find $(PKGDIR)-dev-doc/$(OODIR)/sdk/examples -type f -exec chmod 644 {} \;
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ # move common Java stuff to -java-common
+ rm -rf $(PKGDIR)-java-common
+ mkdir -p $(PKGDIR)-java-common/$(OODIR)/program/classes
+ mkdir -p $(PKGDIR)-java-common/$(OODIR)/share/Scripts
+ mkdir -p $(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ mv $(PKGDIR)-common/$(OODIR)/share/Scripts/java \
+ $(PKGDIR)-java-common/$(OODIR)/share/Scripts
+ mv $(PKGDIR)-common/$(OODIR)/program/classes/* \
+ $(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ cd $(PKGDIR)-java-common/$(OODIR)/program/classes && \
+ for i in $(CURDIR)/$(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/*; do \
+ case "`basename $$i`" in aportisdoc.jar|pexcel.jar|pocketword.jar) continue ;; \
+ *) ln -s `echo $$i | sed -e 's,$(CURDIR)/$(PKGDIR)-java-common,,'` `basename $$i` ;; esac; \
+ done
+
+ # move into extra package
+ rm -rf $(PKGDIR)-filter-mobiledev
+ mkdir -p $(PKGDIR)-filter-mobiledev/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ mkdir -p $(PKGDIR)-filter-mobiledev/$(OODIR)/program/classes
+ for i in aportisdoc pexcel pocketword; do \
+ mv $(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/$$i.jar \
+ $(PKGDIR)-filter-mobiledev/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes; \
+ ln -s /$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/$$i.jar \
+ $(PKGDIR)-filter-mobiledev/$(OODIR)/program/classes; \
+ done
+ for i in pocketexcel palm pocketword; do \
+ mkdir -p $(PKGDIR)-filter-mobiledev/$(OODIR)/share/registry && \
+ mv $(PKGDIR)-common/$(OODIR)/share/registry/$$i.xcd \
+ $(PKGDIR)-filter-mobiledev/$(OODIR)/share/registry; \
+ done
+endif
+
+ # fix permissions
+ for i in editpic poll savepic show webcast; do \
+ chmod 755 $(PKGDIR)-common/$(OODIR)/share/config/webcast/$$i.pl; \
+ done
+ chmod 644 $(PKGDIR)-common/$(OODIR)/LICENSE.odt
+ chmod 644 $(PKGDIR)-common/$(OODIR)/CREDITS.odt
+
+ rm -rf $(PKGDIR)-common/$(OODIR)/LICENSE
+
+ # move uno_packages/cache to /var and create symlink for for
+ # documentation referencing it...
+ rm -rf $(PKGDIR)-common/$(OODIR)/share/uno_packages/cache
+ mkdir -p $(PKGDIR)-common/var/spool/$(OODIRNAME)/uno_packages/cache
+ ln -s /var/spool/$(OODIRNAME)/uno_packages/cache \
+ $(PKGDIR)-common/$(OODIR)/share/uno_packages/cache
+ perl -pi -e \
+ 's,\$$UNO_SHARED_PACKAGES/cache,file:///var/spool/$(OODIRNAME)/uno_packages/cache,g' \
+ $(PKGDIR)-common/$(OODIR)/program/unorc
+ # FIXME: What is this? unorc per default only mentiones
+ # share/uno_packages/cache...
+ rm -rf $(PKGDIR)-common/$(OODIR)/presets/uno_packages
+
+ # move javasettingsunopkginstall.xml to /var/lib
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/usr/var/)/share/config
+ mv $(PKGDIR)-common/$(OODIR)/share/config/javasettingsunopkginstall.xml \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/usr/var/)/share/config/javasettingsunopkginstall.xml
+ ln -s /$(shell echo $(OODIR) | sed -e s/usr/var/)/share/config/javasettingsunopkginstall.xml \
+ $(PKGDIR)-common/$(OODIR)/share/config/javasettingsunopkginstall.xml
+ # set PYTHONPATH in unopkg
+ perl -pi -e 's,unset XENVIRONMENT,unset XENVIRONMENT\n\nexport PYTHONPATH=\"/$(OODIR)/program\"\n\n,' \
+ $(PKGDIR)-common/$(OODIR)/program/unopkg
+
+ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
+ mkdir -p debian/fonts-opensymbol/usr/share/fonts/truetype/openoffice
+ mv $(PKGDIR)-common/$(OODIR)/share/fonts/truetype/opens___.ttf \
+ debian/fonts-opensymbol/usr/share/fonts/truetype/openoffice
+ rm -rf $(PKGDIR)-common/$(OODIR)/share/fonts/truetype
+else
+ rm -f $(PKGDIR)-common/$(OODIR)/share/fonts/truetype/opens___.ttf
+endif
+
+ # convert icons to xpm; we need them for the Debian menu policy...
+ cd $(PKGDIR)-common/usr/share/icons/hicolor/32x32/apps && \
+ for x in *.png; do convert $$x `basename $$x .png`.xpm; done
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifneq (,$(filter saxon, $(SYSTEM_STUFF)))
+ ln -sf /usr/share/java/saxonb.jar \
+ $(PKGDIR)-java-common/$(OODIR)/program/classes/saxon9.jar
+ endif
+endif
+ # remove extra license files
+ rm -rf $(PKGDIR)-common/$(OODIR)/licenses
+ rm -f $(PKGDIR)-common/$(OODIR)/share/readme/LICENSE*
+ rm -f $(PKGDIR)-common/$(OODIR)/THIRDPARTYLICENSEREADME.html
+ rm -f $(PKGDIR)-common/$(OODIR)/LICENSE.html
+
+ # remove extra readme files
+ rm -rf $(PKGDIR)-common/$(OODIR)/readmes
+ rm -f $(PKGDIR)-common/$(OODIR)/share/readme/README*
+ rm -f $(PKGDIR)-common/$(OODIR)/README.html
+ rm -f $(PKGDIR)-common/$(OODIR)/README
+
+ # URE got moved to /usr/lib, so this is obsolete
+ for i in ure/lib ure; do \
+ if [ -e $(PKGDIR)-common/$(OODIR)/$$i ]; then \
+ rmdir $(PKGDIR)-common/$(OODIR)/$$i; \
+ fi; \
+ done
+
+ # move psprint.conf into /etc
+ mkdir -p $(PKGDIR)-common/etc/$(OODIRNAME)
+ mv $(PKGDIR)-common/$(OODIR)/share/psprint/psprint.conf \
+ $(PKGDIR)-common/etc/$(OODIRNAME)
+ ln -s /etc/$(OODIRNAME)/psprint.conf \
+ $(PKGDIR)-common/$(OODIR)/share/psprint/psprint.conf
+
+ # prepare a fake sofficerc in the place where OOo expects it
+ # which does nothing except reference the "normal" one
+ # which we put into /etc
+ mv $(PKGDIR)-common/$(OODIR)/program/sofficerc \
+ $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc
+ ( \
+ echo "# *DO NOT* CHANGE THIS FILE. IT ONLY TAKES THE SETTINGS FROM"; \
+ echo "# /etc/$(OODIRNAME)/sofficerc. CHANGE THAT FILE IF YOU"; \
+ echo "# REALLY WANT TO CHANGE SOMETHING."; \
+ echo "FHS_CONFIG_FILE=file:///etc/$(OODIRNAME)/sofficerc"; \
+ echo "" >> $(PKGDIR)-common/$(OODIR)/program/sofficerc; \
+ ) > $(PKGDIR)-common/$(OODIR)/program/sofficerc
+ cat $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc \
+ | perl -p -e 's/(.*)=(.*)/$$1=\$${\$$FHS_CONFIG_FILE:Bootstrap:$$1}/' \
+ >> $(PKGDIR)-common/$(OODIR)/program/sofficerc
+ # except for URE_BOOTSTRAP...
+ TMP=`mktemp -q`; \
+ grep -v URE_BOOTSTRAP $(PKGDIR)-common/$(OODIR)/program/sofficerc > $$TMP && mv $$TMP $(PKGDIR)-common/$(OODIR)/program/sofficerc && \
+ grep URE_BOOTSTRAP $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc >> $(PKGDIR)-common/$(OODIR)/program/sofficerc && \
+ grep -v URE_BOOTSTRAP $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc > $$TMP && mv $$TMP $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc
+
+ install -m 644 debian/soffice.sh \
+ $(PKGDIR)-common/etc/$(OODIRNAME)/soffice.sh
+
+ifeq "$(HELPISOS)" ""
+ # the helpimgs are not included when we don't build with help here.
+ # Add them now because libreoffice-help-* packaged in contrib or so
+ # will need them
+ set -e; \
+ for i in $(IMAGES); do \
+ s=_$$i.zip; \
+ case "$$i" in $(DEFAULT_IMAGE)) s=.zip; esac; \
+ z=images$$s; \
+ echo "adding helpimgs to $$z..."; \
+ rm -rf $$z; mkdir $$z; \
+ cd $$z; \
+ unzip -q $(CURDIR)/$(PKGDIR)-common/$(OODIR)/share/config/$$z && \
+ cp -r $(CURDIR)/$(SOURCE_TREE)/default_images/res/helpimg res && \
+ chmod +w $(CURDIR)/$(PKGDIR)-common/$(OODIR)/share/config/$$z && \
+ zip -q -r $(CURDIR)/$(PKGDIR)-common/$(OODIR)/share/config/$$z *; \
+ cd ..; \
+ rm -rf $$z; \
+ done
+endif
+ set -e; \
+ for i in $(IMAGES); do \
+ z=images_$$i.zip; p=$$i; \
+ case "$$i" in $(DEFAULT_IMAGE)) z=images.zip; esac; \
+ mkdir -p $(PKGDIR)-style-$$p/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config; \
+ mv $(PKGDIR)-common/$(OODIR)/share/config/$$z \
+ $(PKGDIR)-style-$$p/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config/; \
+ done
+
+ rm -rf debian/openoffice.org-dtd-officedocument1.0
+ mkdir -p debian/openoffice.org-dtd-officedocument1.0/$(shell echo $(OODIR) | sed -e s/libreoffice/openoffice/)/share/dtd
+ mv $(PKGDIR)-common/$(OODIR)/share/dtd/officedocument \
+ debian/openoffice.org-dtd-officedocument1.0/$(shell echo $(OODIR) | sed -e s/libreoffice/openoffice/)/share/dtd
+ cat debian/catalog.xml.in \
+ | sed -e "s,\@OODIR\@,$(shell echo $(OODIR) | sed -e s/libreoffice/openoffice/)," \
+ > debian/openoffice.org-dtd-officedocument1.0/$(shell echo $(OODIR) | sed -e s/libreoffice/openoffice/)/share/dtd/officedocument/1_0/catalog.xml
+ cat debian/openoffice.org-dtd-officedocument1.0.xmlcatalogs.in \
+ | sed -e "s,\@OODIR\@,$(shell echo $(OODIR) | sed -e s/libreoffice/openoffice/)," \
+ > debian/openoffice.org-dtd-officedocument1.0.xmlcatalogs
+ # symlink, as it's in a openoffice.org-* package
+ cd debian/openoffice.org-dtd-officedocument1.0 && \
+ mkdir -p $(OODIR)/share/dtd && \
+ cd $(OODIR)/share/dtd && ln -s /$(shell echo $(OODIR) | sed -e s/libreoffice/openoffice/)/share/dtd/officedocument
+
+ifeq "$(DEB_VENDOR)" "Debian"
+ # install Debian presentation template
+ mkdir -p $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt
+ install -m644 debian/templates/*.otp $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt/
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+ # add symlinks for docs and examples
+ cd $(PKGDIR)-dev-doc/$(OOSDKDIR) && \
+ rm -rf docs && \
+ ln -sf /usr/share/doc/libreoffice-dev/docs docs
+ mkdir -p $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev
+ mkdir -p $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev-doc
+ cd $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev-doc && \
+ ln -s /usr/share/doc/libreoffice-dev/docs docs
+ cd $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev-doc && \
+ ln -s /$(OOSDKDIR)/examples examples
+ cd $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev && \
+ ln -s /$(OOSDKDIR)/examples examples
+ # and the index
+ cd $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev && \
+ ln -s /$(OOSDKDIR)/index.html index.html
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_BSH)" "y"
+ mkdir -p $(PKGDIR)-script-provider-bsh/$(OODIR)/share/Scripts
+ mv $(PKGDIR)-common/$(OODIR)/share/Scripts/beanshell \
+ $(PKGDIR)-script-provider-bsh/$(OODIR)/share/Scripts
+ endif
+
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_JS)" "y"
+ mkdir -p $(PKGDIR)-script-provider-js/$(OODIR)/share/Scripts
+ mv $(PKGDIR)-common/$(OODIR)/share/Scripts/javascript \
+ $(PKGDIR)-script-provider-js/$(OODIR)/share/Scripts
+ endif
+endif
+
+ifeq "$(ENABLE_REPORTDESIGN)" "y"
+ ifeq "$(ENABLE_JAVA)" "y"
+ for i in THIRDPARTYREADMELICENSE.html readme_en-US.html readme_en-US.txt \
+ registration/LICENSE; do \
+ rm -f $(PKGDIR)-report-builder/$(OODIR)/share/extensions/report-builder/$$i; \
+ done
+ endif
+endif
+
+ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ rm -f $(PKGDIR)-wiki-publisher/$(OODIR)/share/extensions/wiki-publisher/license/THIRDPARTYLICENSEREADME.html
+endif
+
+ # unopkg creates stuff in there.
+ mkdir -p $(PKGDIR)-common/$(OODIR)/share/prereg
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/usr/var/)/share/prereg/bundled
+ ln -s /$(shell echo $(OODIR) | sed -e s/usr/var/)/share/prereg/bundled \
+ $(PKGDIR)-common/$(OODIR)/share/prereg/bundled
+
+ for i in $(ARCH_INDEP_PACKAGES); do \
+ if [ -e debian/$$i.bug-script.in ]; then \
+ cat debian/$$i.bug-script.in \
+ | sed -e "s/@PLATFORMID@/$(PLATFORMID)/" \
+ > debian/$$i.bug-script; \
+ fi ;\
+ done
+ # generate .links files from *.in
+ for PKG in $(ARCH_INDEP_PACKAGES); do \
+ LINKS=debian/$$PKG.links ; \
+ if [ -e $$LINKS.in ]; then \
+ sed -e "s#\@OODIR\@#$(OODIR)#g" \
+ < $$LINKS.in > $$LINKS ; \
+ fi; \
+ done
+ for PKG in $(ARCH_INDEP_PACKAGES); do \
+ case $$PKG in \
+ ttf-opensymbol|openoffice.org-dtd-officedocument1.0) \
+ ;; \
+ *) \
+ cat debian/changelog \
+ | sed -e '/^openoffice/,$$d' \
+ > debian/$$PKG.changelog; \
+ ;; \
+ esac; \
+ done
+
+ # install extension shell lib for use by extensions not from here
+ install -D -m644 debian/shell-lib-extensions.sh \
+ $(PKGDIR)-common/usr/share/$(OODIRNAME)/shell-lib-extensions.sh
+
+ # those are needed in /usr/share, too
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)
+ mv $(PKGDIR)-common/$(OODIR)/help \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)
+ # help is in /usr/share
+ sed -i 's,$$(instpath)/help,/$(shell echo $(OODIR) | sed -e s/lib/share/)/help,' \
+ $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+
+ # compat dirs, the split icons thing need it
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program
+ # three-layer symlinks also for /usr/share
+ ln -s /$(OOUREDIR) \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/ure-link
+
+ # enable session handling and recovery
+ perl -pi -e 's,<prop oor:name="DocumentStoreUIEnabled" oor:type="xs:boolean"><value>false</value></prop>,<prop oor:name="DocumentStoreUIEnabled" oor:type="xs:boolean"><value>true</value></prop>,' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+
+ # examples. move where they belong
+ mkdir -p $(PKGDIR)-common/usr/share/doc/libreoffice-common/examples
+ for i in oo-ldap.xcd.sample oo-ad-ldap.xcd.sample; do \
+ mv $(PKGDIR)-common/$(OODIR)/share/registry/$$i \
+ $(PKGDIR)-common/usr/share/doc/libreoffice-common/examples; \
+ ln -s /usr/share/doc/libreoffice-common/examples/$$i $(PKGDIR)-common/$(OODIR)/share/registry/$$i; \
+ done
+
+ # install font config. Doesn't get installed with
+ # --without-fonts.
+ # FIXME: Shouldn't this be in /etc/fonts/conf.d with a symlink here?
+ install -m644 -D $(SOURCE_TREE)/more_fonts/fonts/fc_local.conf \
+ $(PKGDIR)-common/$(OODIR)/share/fonts/truetype/fc_local.conf
+
+ # register technical.dic
+ perl -pi -e 's/standard.dic;/standard.dic;technical.dic;/' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+
+#ifeq "$(PACKAGE_SDK)" "y"
+# # install gengal stuff into -dev
+# mkdir -p $(PKGDIR)-dev/$(OODIR)/program
+# install -m644 $(SOURCE_TREE)/svx/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$OUTPATH$$PROEXT)/bin/gengalrc \
+# $(PKGDIR)-common/$(OODIR)/program/gengalrc
+#endif
+ touch $@
+
+binary-arch: $(STAMP_DIR)/binary-arch
+$(STAMP_DIR)/binary-arch: $(STAMP_DIR)/install-arch debian/control $(STAMP_DIR)/maintscripts
+ dh_testdir
+ dh_testroot
+
+ for pkg in $(ARCH_DEP_PACKAGES) ; do \
+ rm -f debian/$$pkg.*.debhelper;\
+ rm -rf debian/$$pkg/DEBIAN;\
+ done
+
+ dh_installdocs -s -A debian/README.Debian
+ dh_installdebconf -s
+ dh_installman -s
+ for i in writer calc draw base math impress; do \
+ for i in `find $(PKGDIR)-$$i -type l -name "lo*.1"`; do \
+ mv $$i $$i.gz; \
+ if [ "`readlink $$i`" != "libreoffice.1.gz" ]; then \
+ ln -sf libreoffice.1.gz $$i.gz; \
+ fi; \
+ done; \
+ done
+ dh_installchangelogs -s -k
+ dh_installmime -s
+ dh_installmenu -s
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(BUILD_JARS_NATIVE)" "y"
+ dh_nativejava -plibreoffice$(VER)-gcj -o
+ endif
+endif
+ dh_python2 -ppython-uno --no-guessing-versions --no-guessing-deps
+ifeq "$(ENABLE_PYTHON3)" "y"
+ dh_python3 -ppython3-uno --no-guessing-deps
+endif
+ dh_lintian -s
+ dh_bugfiles -s -A
+ dh_link -s
+ dh_fixperms -s
+ifeq "$(BUILD_DBG_PACKAGE)" "y"
+ dh_strip -s -Nure -Nuno-libs3 --dbg-package=libreoffice$(VER)-dbg
+ dh_strip -pure --dbg-package=ure-dbg
+ dh_strip -puno-libs3 --dbg-package=uno-libs3-dbg
+ # dh_strip --dbg-package= is not idempotent, force copying of the binaries
+ # again...
+ rm -f $(STAMP_DIR)/install-arch
+ # install .gdb-py
+ for i in `find $(SOURCE_TREE)/solver/ -name "*-gdb.py"`; do \
+ if echo $$i | grep -q uno_; then pkg=uno-libs3; path=usr/lib/ure/lib; \
+ else pkg=libreoffice; path=usr/lib/libreoffice/program; fi; \
+ mkdir -p debian/$$pkg-dbg/usr/lib/debug/$$path && \
+ install -m644 $$i debian/$$pkg-dbg/usr/lib/debug/$$path/`basename $$i`; \
+ done
+else
+ dh_strip -s
+endif
+ dh_icons -s
+ dh_compress -s -X.py -X.mk -X.sxd
+ dh_makeshlibs -puno-libs3 -V"uno-libs3 (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')~), ure" -- -c0 -v`echo $(BINARY_VERSION) | cut -d: -f2`
+ dh_makeshlibs -n -pure -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')~)" -- -v`echo $(BINARY_VERSION) | cut -d: -f2`
+ # ugly hack, but why does that happen? It's not in .symbols...
+ TMP=`mktemp -q`; \
+ grep -v PRIVATE debian/uno-libs3/DEBIAN/symbols > $$TMP && \
+ mv $$TMP debian/uno-libs3/DEBIAN/symbols && \
+ chmod 644 debian/uno-libs3/DEBIAN/symbols
+ dh_installdeb -s
+ifeq "$(BUILD_KFREEBSD)" "y"
+ cat debian/shlibs.override.libc >> debian/shlibs.local
+endif
+ifeq (,$(filter icu, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.icu >> debian/shlibs.local
+endif
+ifeq (,$(filter stdlibs, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.stdlibs >> debian/shlibs.local
+endif
+ # we need to do it in two steps. The new dpkg-shlibdeps doesn't find
+ # /usr/lib/libgcj-bc.so when specifying -l$(GCJ_JAWT_DIR)
+ # and therefore we must not use it for -gcj. But we *do* need it
+ # for -officebean (libjawt.so is referenced there)
+ LD_LIBRARY_PATH="debian/uno-libs3/$(OOUREDIR)/lib:debian/ure/$(OOUREDIR)/lib:$(PKGDIR)-core/$(OODIR)/program:$(PKGDIR)-base-core/$(OODIR)/program:$(PKGDIR)-base/$(OODIR)/program:$(PKGDIR)-writer/$(OODIR)/program" \
+ dh_shlibdeps -s -Nlibreoffice$(VER)-officebean \
+ -Lure -Luno-libs3 \
+ -ldebian/uno-libs3/$(OOUREDIR)/lib:debian/ure/$(OOUREDIR)/lib:$(PKGDIR)-core/$(OODIR)/program:$(PKGDIR)-base/$(OODIR)/program:$(shell dirname $(shell dpkg -L `echo $(GCJ_JAWT_DEPENDS) | sed -e s/-awt//` | grep _bc)) \
+ $(SHLIBS_OVERRIDE)
+ifneq (,$(filter redland, $(SYSTEM_STUFF)))
+ # dpkg-shlibdeps "in practice" always will look for this in
+ # /usr/lib/openoffice/basisX.Y/program due to the RPATH and the
+ # dh_shlibdeps would fail. It's excluded, and we now need to do it
+ # manually. Saves us a versioned build-conflict with ourselves
+ # which quickly can get outdated
+ perl -pi -e 's/(shlibs.*$$)/$$1, $(shell cat /var/lib/dpkg/info/$(shell dpkg -S /usr/lib/`objdump -p $(PKGDIR)-core/$(OODIR)/program/libunordf*.so | grep NEEDED | grep librdf | awk '{ print $$2 }'` | cut -d: -f1).shlibs | awk '{ print $$3,$$4,$$5 }')/' $(PKGDIR)-core.substvars
+endif
+ifeq "$(ENABLE_LIBRSVG)" "y"
+ ifeq "$(SYSTEM_LIBRSVG)" "y"
+ # dlopen()'ed only for some weird reason (even when --with-librsvg=internal!)
+ perl -pi -e 's/(shlibs.*$$)/$$1, $(shell cat /var/lib/dpkg/info/librsvg*.shlibs | awk '{ print $$3,$$4,$$5 }')/' $(PKGDIR)-core.substvars
+ endif
+endif
+ # don't make uno-libs3 depend on ure...
+ perl -pi -e 's/, ure$$//' debian/uno-libs3.substvars
+ # .. and prevent ure to depend on itself..
+ perl -pi -e 's/, ure \(.*\)$$//' debian/ure.substvars
+ifeq "$(ENABLE_JAVA)" "y"
+ LD_LIBRARY_PATH="debian/uno-libs3/$(OOUREDIR)/lib:debian/ure/$(OOUREDIR)/lib:$(PKGDIR)-core/$(OODIR)/program" \
+ dh_shlibdeps -plibreoffice$(VER)-officebean \
+ -Lure -Luno-libs3 \
+ -ldebian/uno-libs3/$(OOUREDIR)/lib:debian/ure/$(OOUREDIR)/lib:$(PKGDIR)-core/$(OODIR)/program:$(GCJ_JAWT_DIR) \
+ $(SHLIBS_OVERRIDE)
+endif
+ifeq "$(LINK_TO_STLPORT)" "y"
+ perl -pi -e 's/(shlibs.*$$)/$$1, $(shell cat /var/lib/dpkg/info/libstlport4.6*.shlibs | awk '{ print $$3,$$4,$$5 }')/' debian/ure.substvars
+endif
+ifeq "$(ENABLE_JAVA)" "y"
+ jh_depends -s -Xlibreoffice$(VER)-gcj -Xlibreoffice$(VER)-dbg -Xure
+ ifeq "$(PACKAGE_BASE)" "y"
+ perl -pi -e "s/libhsqldb-java/$(BASE_HSQLDB_DEPENDS)/" \
+ debian/libreoffice$(VER)-base.substvars
+ perl -pi -e "s/base-files,//" \
+ debian/libreoffice$(VER)-base.substvars
+ endif
+ # jh_depends adds ure (${source:Version}) entries. They are overly strict
+ # and do not fit anyway given ure has a different versioning scheme. Excluded
+ # above, readd here unversioned
+ perl -pi -e 's/^(java:Depends.*$$)/\1, ure/' \
+ debian/libreoffice$(VER)-officebean.substvars
+endif
+# This switch to dh_shlibdeps reduces the 'libXXX not found' warnings but
+# causes ldd crashes sometimes when used with fakeroot:
+# -l $(PKGDIR)-core/$(OPENOFFICEDIR)/program
+ dh_gencontrol -s $(DEBHELPER_OPTIONS) -Nure -Nure-dbg -Nuno-libs3 -Nuno-libs3-dbg \
+ -Nlibreoffice$(VER)-presentation-minimizer \
+ -Nlibreoffice$(VER)-presenter-console \
+ -Nlibreoffice$(VER)-pdfimport \
+ -Nlibreoffice$(VER)-mysql-connector -- \
+ -V"ure:Version=$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')" \
+ -V'base-version=$(BASE_VERSION)' \
+ -V'oover=$(OOVER)' \
+ -V'next-oover=$(NEXT_OOVER)' \
+ -V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
+ -V'base-hsqldb-depends=$(BASE_HSQLDB_DEPENDS)' \
+ -V'java-common-depends=$(JAVA_COMMON_DEPENDS) $(JAVA_COMMON_DEPENDS_VERSION)' \
+ -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+ -V'java-gcj-depends=$(JAVA_GCJ_DEPENDS)' \
+ -V'lucene-depends=$(LUCENE_DEPENDS)' \
+ -V'Binary-Version=$(BINARY_VERSION)' \
+ -V'ooo-binfilter-dep=$(OOO_BINFILTER_DEP)' \
+ -V'ooo-officebean-dep=$(OOO_OFFICEBEAN_DEP)' \
+ -V'kde-iconset-dep=$(KDE_ICONSET_DEP)' \
+ -V'lpsolve-dep=$(LPSOLVE_DEP)' \
+ -V'gstreamer-plugins-suggests=$(GSTREAMER_PLUGINS_SUGGESTS)' \
+ -V'libebook-dep=$(shell debian/scripts/get_libebook_dep.sh)' \
+ -V'libldap-suggests=$(LDAP_LIB)' \
+ -V'dbg-dbg-suggests=$(DBG_DBG_SUGGESTS)' \
+ -v$(BINARY_VERSION)
+ifeq "$(ENABLE_JAVA)" "y"
+ perl -pi -e "s/java-gcj-compat/java-gcj-compat (>= 1.0.77-4)/" \
+ debian/libreoffice$(VER)-officebean/DEBIAN/control
+endif
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_ARCH_DEP_EXTENSIONS_ARCHS)))
+ifeq "$(ENABLE_PDFIMPORT)" "y"
+ dh_gencontrol -plibreoffice$(VER)-pdfimport -- \
+ -v$(shell grep "<version" $(SOURCE_TREE)/sdext/source/pdfimport/description.xml | perl -pi -e 's,<version.*value=\"(.*)\" />,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ifeq "$(ENABLE_MINIMIZER)" "y"
+ dh_gencontrol -plibreoffice$(VER)-presentation-minimizer -- \
+ -v$(shell grep "<version" $(SOURCE_TREE)/sdext/source/minimizer/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ifeq "$(ENABLE_PRESENTER_CONSOLE)" "y"
+ dh_gencontrol -plibreoffice$(VER)-presenter-console -- \
+ -v$(shell grep "<version" $(SOURCE_TREE)/sdext/source/presenter/description.xml | perl -pi -e 's,<version value=\"(.*)\" />,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ifeq "$(PACKAGE_BASE)" "y"
+ ifeq "$(ENABLE_MYSQLNATIVE)" "y"
+ dh_gencontrol -plibreoffice$(VER)-mysql-connector -- \
+ -v$(shell grep "<version" $(SOURCE_TREE)/mysqlc/$(shell . $(SOURCE_TREE)/Env.Host.sh; echo $$OUTPATH$$PROEXT)/misc/description.xml | perl -pi -e 's,<version value=\"(.*)\" />,\1,; s/^\s+//; s/\s+$$//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+ endif
+endif
+endif
+ dh_gencontrol -pure -pure-dbg -puno-libs3 -puno-libs3-dbg -- \
+ -V"ure:Version=`echo $(BINARY_VERSION) | cut -d: -f2`" \
+ -v"`echo $(BINARY_VERSION) | cut -d: -f2`"
+ dh_md5sums -s
+ifeq "$(USE_XZ_COMPRESS)" "y"
+ dh_builddeb -Nlibreoffice$(VER)-dbg -s $(DEBHELPER_OPTIONS) $(BUILDDEB_OPTIONS)
+ dh_builddeb -plibreoffice$(VER)-dbg $(DEBHELPER_OPTIONS) $(filter-out -Zbzip2 -Zlzma,$(BUILDDEB_OPTIONS)) -Zxz
+else
+ dh_builddeb -s $(DEBHELPER_OPTIONS) $(BUILDDEB_OPTIONS)
+endif
+
+ touch $@
+
+binary-indep: $(GSI_EXPORT_STAMP) $(STAMP_DIR)/binary-indep
+$(STAMP_DIR)/binary-indep: $(STAMP_DIR)/install-indep debian/control $(STAMP_DIR)/maintscripts $(STAMP_DIR)/langpacks
+ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_JAVA_ARCHS)))
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo "For uploads with binary-all packages, please use arches where Java is enabled!!!!!"
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+endif
+ dh_testdir
+ dh_testroot
+
+ for pkg in $(ARCH_INDEP_PACKAGES) ; do \
+ rm -f debian/$$pkg.*.debhelper;\
+ rm -rf debian/$$pkg/DEBIAN;\
+ done
+
+ifeq "$(PACKAGE_SDK)" "y"
+ . $(SOURCE_TREE)/solenv/inc/udkversion.mk && \
+ for i in common cpp java; do \
+ cat debian/udk-$$i-ref.in \
+ | sed -e "s/@UDK_MAJOR@/$$UDK_MAJOR/" \
+ -e "s/@UDK_MINOR@/$$UDK_MINOR/" \
+ -e "s/@UDK_MICRO@/$$UDK_MICRO/" \
+ -e "s/@VER@/$(VER)/" \
+ > debian/libreoffice-dev-doc.doc-base.udk-$$i-ref; \
+ done
+ # remove Autodoc_DiagnosticMessages.txt
+ find $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev \
+ -name "Autodoc_DiagnosticMessages.txt" -exec rm {} \;
+ UDK_CPP_FILES=`find $(CURDIR)/debian/libreoffice-dev-doc/usr/share/doc/libreoffice-dev/docs/cpp/ref | sed -e 's,$(CURDIR)/debian/libreoffice-dev-doc,,g' | xargs`; \
+ echo "Files: $$UDK_CPP_FILES" >> debian/libreoffice-dev-doc.doc-base.udk-cpp-ref
+ ifeq "$(ENABLE_JAVA)" "y"
+ UDK_JAVA_FILES=`find $(CURDIR)/debian/libreoffice-dev-doc/usr/share/doc/libreoffice-dev/docs/java/ref | sed -e 's,$(CURDIR)/debian/libreoffice-dev-doc,,g' | xargs`; \
+ echo "Files: $$UDK_JAVA_FILES" >> debian/libreoffice-dev-doc.doc-base.udk-java-ref
+ endif
+ # xargs strips the many files here so we need to post-process it.
+ UDK_COMMON_FILES=`find $(CURDIR)/debian/libreoffice-dev-doc/usr/share/doc/libreoffice-dev/docs/common/ref | sed -e 's,$(CURDIR)/debian/libreoffice-dev-doc,,g' | xargs`; \
+ TMP=`mktemp -q`; \
+ cp debian/libreoffice-dev-doc.doc-base.udk-common-ref $$TMP; \
+ echo "Files: $$UDK_COMMON_FILES" >> $$TMP; \
+ cat $$TMP | perl -e 'while(<>) { if (/^Files/) {$$f=1;} if ($$f eq "1") { chomp(); } print $$_; }' > debian/libreoffice-dev-doc.doc-base.udk-common-ref; \
+ rm -f $$TMP
+ # no idea why this happens; afais this can't come from above
+ # since it doesn't affect the files at the end of the lines...
+ # But fix it..
+ perl -pi -e 's,html/,html /,g' debian/libreoffice-dev-doc.doc-base.udk-common-ref
+endif
+ dh_installdocs -i -A debian/README.Debian
+ dh_installman -i
+ for i in `find $(PKGDIR)-common -type l -name "lo*.1"`; do \
+ mv $$i $$i.gz; \
+ if [ "`readlink $$i`" != "libreoffice.1.gz" ]; then \
+ ln -sf libreoffice.1.gz $$i.gz; \
+ fi; \
+ done
+ dh_installchangelogs -i -k
+ dh_installmime -i
+ dh_lintian -i
+ dh_bugfiles -i -A
+ dh_link -i
+ dh_fixperms -i
+ dh_icons -i
+ dh_installxmlcatalogs -i
+ dh_compress -i -X.py -X.mk -X.sxd -X.xcd.sample
+ dh_installdeb -i
+ifeq "$(ENABLE_JAVA)" "y"
+ # the help recommends lucene. this is enough. no need for a hard depend in
+ # -common, IMHO
+ jh_depends -i -Xlibreoffice$(VER)-gcj -Xlibreoffice$(VER)-dbg -Xliblucene2-java
+endif
+ dh_gencontrol -i $(DEBHELPER_OPTIONS) \
+ -Nlibreoffice$(VER)-report-builder \
+ -Nlibreoffice$(VER)-wiki-publisher \
+ -Nttf-opensymbol \
+ -Nfonts-opensymbol \
+ -Nopenoffice.org-dtd-officedocument1.0 -- \
+ -V'base-version=$(BASE_VERSION)' \
+ -V'oover=$(OOVER)' \
+ -V'next-oover=$(NEXT_OOVER)' \
+ -V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
+ -V'bsh-depends=$(BSH_DEPENDS)' \
+ -V'java-common-depends=$(JAVA_COMMON_DEPENDS)' \
+ -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+ -V'lucene-depends=$(LUCENE_DEPENDS)' \
+ -V'lucene-conflicts=$(LUCENE_CONFLICTS)' \
+ -V'textcat-data-recommends=$(TEXTCAT_DATA_RECOMMENDS)' \
+ -V'Binary-Version=$(BINARY_VERSION)' \
+ -V'ooo-binfilter-dep=$(OOO_BINFILTER_DEP)' \
+ -V'dbg-dbg-suggests=$(DBG_DBG_SUGGESTS)' \
+ -v$(BINARY_VERSION)
+ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
+ dh_gencontrol -pttf-opensymbol -pfonts-opensymbol -- \
+ -v$(shell echo `echo $(BINARY_VERSION) | cut -d: -f1` + 1 | bc):$(shell fontforge -lang=ff -c 'Open($$1); Print ($$fontversion); Quit(0);' debian/fonts-opensymbol/usr/share/fonts/truetype/openoffice/opens___.ttf)+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ dh_gencontrol -plibreoffice$(VER)-wiki-publisher -- \
+ -V'mediawiki-jar-depends=$(MEDIAWIKI_JAR_DEPENDS)' \
+ -V'lucene-depends=$(LUCENE_DEPENDS)' \
+ -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+ -v$(shell grep "<version" $(SOURCE_TREE)/swext/mediawiki/src/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ifeq "$(ENABLE_REPORTDESIGN)" "y"
+ dh_gencontrol -plibreoffice$(VER)-report-builder -- \
+ -V'base-version=$(BASE_VERSION)' \
+ -V'report-builder-jar-depends=$(REPORT_BUILDER_JAR_DEPENDS)' \
+ -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+ -v`echo $(BINARY_VERSION) | cut -d: -f1`:$(shell grep "<version" $(SOURCE_TREE)/reportbuilder/$(shell . $(SOURCE_TREE)/Env.Host.sh; echo $$OUTPATH$$PROEXT)/misc/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ dh_gencontrol -popenoffice.org-dtd-officedocument1.0 -- \
+ -v$(shell echo `echo $(BINARY_VERSION) | cut -d: -f1` + 1 | bc):1.0+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+ dh_md5sums -i -Xjavasettingsunopkginstall.xml
+ dh_builddeb -i $(DEBHELPER_OPTIONS) $(BUILDDEB_OPTIONS)
+
+ touch $@
+
+binary: binary-arch binary-indep
+
+ifeq "$(USE_GIT_TARBALLS)" "y"
+
+# $(1) is the upstream name of the repo
+# $(2) is the name of the tarball
+# $(3) is the path to archive (empty for everything)
+#
+# according to policy get-orig-source has to download to the current dir, thus
+# should not require a dh_testdir. However, like this we can have clean deps
+# from build and download the source, configure, build, pack in on piece. As
+# get-orig-source is an optional target anyway, we stick to support only this
+# case and not random dirs. see also: debian bug 494141
+# also, we need to run configure to create the src tarball anyway
+
+GIT_INSTALLED:=$(shell which git >/dev/null 2>/dev/null && echo "y")
+
+get_orig_tarball=$(CURDIR)/../libreoffice_$(DEB_VERSION_UPSTREAM).orig$(1).tar.xz
+
+define pack_gittarball
+$(if $(GIT_INSTALLED),,$(error You need git.))
+dh_testdir
+TMPD=`mktemp -d $(if $(TMP),-p $(TMP))` && \
+mkdir $${TMPD}/archive && \
+git clone --bare $(GIT_BASEURL)/$(1) $${TMPD}/repo -b $(GIT_BRANCH) && \
+git archive --remote $${TMPD}/repo --format=tar --prefix libreoffice-$(DEB_VERSION_UPSTREAM)/ $(GIT_TAG) |tar x -C $${TMPD}/archive && \
+tar cvJf $(2) -C $${TMPD}/archive/$(3) --transform 's,./,,' . && \
+rm -rf $${TMPD}
+endef
+
+define unpack_gittarball
+dh_testdir
+mkdir -p $(CURDIR)/$(1)
+test -f $(CURDIR)/$(1)/.gitignore || tar xvJf $(2) -C $(CURDIR)/$(1) $(3)
+endef
+
+ifneq ($(filter get-orig-source unpack,$(MAKECMDGOALS)),)
+$(call get_orig_tarball):
+ $(call pack_gittarball,core,$@,)
+
+$(call get_orig_tarball,-helpcontent2):
+ $(call pack_gittarball,help,$@,libreoffice-$(DEB_VERSION_UPSTREAM)/helpcontent2)
+
+$(call get_orig_tarball,-%):
+ $(call pack_gittarball,$*,$@,libreoffice-$(DEB_VERSION_UPSTREAM)/$*)
+
+# Get upstream external sources
+$(call get_orig_tarball,-src): binfilter/no_localization dictionaries/en/README.txt helpcontent2/makefile.pmk translations/makefile.mk .gitignore
+ dh_testdir
+ rm -rf $(TARFIILE_LOCATION)
+ mkdir -p $(TARFILE_LOCATION)
+ ./autogen.sh
+ ./download
+ tar cvJf $@ -C $(TARFILE_LOCATION) --transform 's,./,,' .
+
+# using flag files for unpacking
+.gitignore: $(call get_orig_tarball)
+ $(call unpack_gittarball,,$<,--strip-components=1)
+
+binfilter/no_localization: $(call get_orig_tarball,-binfilter)
+ $(call unpack_gittarball,binfilter,$<,)
+
+dictionaries/en/README.txt: $(call get_orig_tarball,-dictionaries)
+ $(call unpack_gittarball,dictionaries,$<,)
+
+translations/makefile.mk: $(call get_orig_tarball,-translations)
+ $(call unpack_gittarball,translations,$<,)
+
+helpcontent2/makefile.pmk: $(call get_orig_tarball,-helpcontent2)
+ $(call unpack_gittarball,helpcontent2,$<,)
+
+src/fetch.log: $(call get_orig_tarball,-src) patched
+ $(call unpack_gittarball,src,$<,)
+
+get-orig-source: $(call get_orig_tarball,-src) src/fetch.log
+ dh_testdir
+
+unpack: src/fetch.log
+ dh_testdir
+endif
+endif
+
+
+.PHONY: control
+.PHONY: clean-debdir clean-instsetoo clean-objectdirs clean default configure
+.PHONY: build build-indep build-arch install-arch install-indep
+.PHONY: get-orig-source unpack patched
+.PHONY: $(stampdir_targets)
+
+# vim:set noet ai sts=8 sw=8 tw=0:
--- /dev/null
+#! /usr/bin/python
+
+# read file input from stdin, which has the output of the command
+# fdupes --reverse --sameline --size <directory> ...
+
+import os, re, sys, fileinput, getopt
+
+class Duplicate:
+ def __init__(self, prefix, base, paths, size=-1):
+ self.size = size
+ self.files = {'common': [], 'l10n-en-us': []}
+ for path in paths:
+ match = re.match(prefix + '/' + base + r'-([^/]+)(.*)', path)
+ pkg, fn = match.groups()[:2]
+ self.files.setdefault(pkg, []).append(fn)
+
+ # one name to identify the duplicate
+ if len(self.files['common']):
+ self.id = self.files['common'][0]
+ elif len(self.files['l10n-en-us']):
+ self.id = self.files['l10n-en-us'][0]
+ else:
+ other_files = [files for pkg, files in self.files.items()
+ if not pkg in ('common', 'l10n-en-us')]
+ self.id = other_files[0][0]
+
+ def is_candidate(self):
+ """do we want to replace that one ..."""
+ if len(self.files['common']) > 1 or len(self.files['l10n-en-us']) > 1:
+ # inter-package symlinks in -common or -l10n-en-us
+ if len(self.files) == 2:
+ # not references by any other package
+ return False
+ if len(self.files['common']) < 1 and len(self.files['l10n-en-us']) < 1:
+ # nothing to link to
+ return False
+ # see if we have duplicates in other packages
+ return len(self.files) > 2
+
+ def get_filenames(self, replace_only=False):
+ names = []
+ for pkg, files in self.files.items():
+ if replace_only and pkg in ('common', 'l10n-en-us'):
+ continue
+ names.extend(files)
+ return names
+
+ def get_target(self):
+ if len(self.files['common']):
+ return 'common', self.files['common'][0]
+ if len(self.files['l10n-en-us']):
+ return 'common', self.files['l10n-en-us'][0]
+ raise Exception, "no target file"
+
+ def statistics(self, verbose=False):
+ num_in_common = len(self.files['common']) + len(self.files['l10n-en-us'])
+ num_in_others = len(self.get_filenames(replace_only=True))
+ pkgs = ' '.join(self.files.keys()).replace('l10n-', '')
+ print "common: %2d, others: %2d, size: %d" % (num_in_common, num_in_others, self.size)
+ if not verbose:
+ print " %s" % self.id
+ print " %s" % pkgs
+ if verbose:
+ print '\t' + '\n\t'.join(self.get_filenames())
+
+def calc_savings(duplicates):
+ savings = {}
+ for dup in duplicates:
+ if not dup.is_candidate():
+ continue
+ for pkg, files in dup.files.items():
+ if pkg in ('common', 'l10n-en-us'):
+ continue
+ sizes = dup.size * len(files)
+ total = savings.get(pkg, 0) + sizes
+ savings[pkg] = total
+ return savings
+
+def calc_target_link(src_path, dst_path):
+ assert dst_path[0] == '/' and src_path[0] == '/'
+ src_dirs = src_path[1:].split('/')
+ dst_dirs = dst_path[1:].split('/')
+ common_idx = 0
+ while src_dirs[common_idx] == dst_dirs[common_idx]:
+ common_idx += 1
+ if common_idx == 0:
+ new_dirs = [''] + src_dirs
+ else:
+ updir_count = len(dst_dirs) - common_idx - 1
+ new_dirs = ['..' for i in range(updir_count)] + src_dirs[common_idx:]
+ return '/'.join(new_dirs)
+
+def remove_and_symlink(duplicates, prefix, base, dryrun=False, verbose=False):
+ for dup in duplicates:
+ if not dup.is_candidate():
+ continue
+ for pkg, files in dup.files.items():
+ if pkg in ('common', 'l10n-en-us'):
+ continue
+ target_pkg, target_name = dup.get_target()
+ for f in files:
+ target_link = calc_target_link(target_name, f)
+ pth = prefix + '/' + base + "-%s%s" % (pkg, f)
+ if verbose:
+ print "DO: rm -f %s" % pth
+ if not dryrun:
+ os.unlink(pth)
+ if verbose:
+ print "DO: ln -s %s %s" % (target_link, pth)
+ if not dryrun:
+ os.symlink(target_link, pth)
+ pass
+
+def main():
+ prog = os.path.basename(sys.argv[0])
+ try:
+ opts, args = getopt.getopt(sys.argv[1:], "b:np:v",
+ ["base=", "dry-run", "prefix=", "verbose"])
+ except getopt.GetoptError:
+ # print help information and exit:
+ print "usage: %s -p <prefix>|--prefix=<prefix> -b <base>|--base=<base> [-v|--verbose] [-n|--dry-run]" % prog
+ sys.exit(2)
+ verbose = False
+ dryrun = False
+ prefix = base = None
+ for o, a in opts:
+ if o in ("-v", "--verbose"):
+ verbose = True
+ if o in ("-n", "--dry-run"):
+ dryrun = True
+ if o in ("-b", "--base"):
+ base = a
+ if o in ("-p", "--prefix"):
+ prefix = a
+ if not prefix:
+ print "%s: Missing --prefix option" % prog
+ sys.exit(2)
+ if not base:
+ print "%s: Missing --base option" % prog
+ sys.exit(2)
+ if not os.path.isdir(prefix):
+ print "%s: Not a directory: %s" % (prog, prefix)
+ sys.exit(2)
+ del sys.argv[1:]
+
+ size = -1
+ duplicates = []
+ for line in fileinput.input():
+ line = line[:-1]
+ m = re.match(r'(\d+) bytes each', line)
+ if m:
+ size = int(m.group(1))
+ continue
+ dup = Duplicate(prefix, base, line.split(), size)
+ duplicates.append(dup)
+ size = -1
+
+ if verbose:
+ print "========= Skip duplicates ========="
+ for dup in duplicates:
+ if not dup.is_candidate():
+ dup.statistics(verbose=True)
+ print
+ if verbose:
+ print "========= Replace duplicates ========="
+ for dup in duplicates:
+ if dup.is_candidate():
+ dup.statistics()
+ print
+
+ print "========= Savings per package ========="
+ saved_bytes = calc_savings(duplicates)
+ grand_total = 0
+ for pkg, total in saved_bytes.items():
+ print "%-10s: %9d" % (pkg, total)
+ grand_total = grand_total + total
+ print "===================="
+ print "%-10s: %9d" % ('TOTAL', grand_total)
+
+ if verbose:
+ print
+ print "========= Go! ========="
+ remove_and_symlink(duplicates, prefix, base, dryrun=dryrun, verbose=verbose)
+
+if __name__ == '__main__':
+ main()
--- /dev/null
+#!/bin/sh
+
+libs=`grep libebook.*\.so connectivity/source/drivers/evoab2/EApi.cxx | perl -pe 's/\s+\"(.*)\".*/$1/'`
+
+for l in $libs; do
+ if [ -e "/usr/lib/$l" ]; then
+ # sanity check: do the libs match with what we would get
+ # for our libebook version if we followed the .so symlink?
+ l1=`readlink /usr/lib/$l`
+ l2_tmp=`echo $l | perl -pe 's/(.*)\.\d+$/$1/'`
+ l2=`readlink /usr/lib/$l2_tmp`
+ if [ "$l1" = "$l2" ]; then
+ dep=`dpkg -S /usr/lib/$l | cut -d: -f1`
+ fi
+ fi
+done
+
+if [ -n "$dep" ]; then
+ echo $dep
+else
+ echo "Cannot find libebook dependency. None of the following libs found:"
+ echo $libs
+ exit 1
+fi
+
--- /dev/null
+#!/bin/sh
+
+## create split package dirs out of LibreOffices gid_* files
+## copied from former ooo-build/libreoffice-build package-ooo
+## (c) 2005 Chris Halls <halls@debian.org>
+## (c) 2005-2011 Rene Engelhard <rene@debian.org>
+
+export OODESTDIR=$DESTDIR
+
+cd $DESTDIR
+
+echo "Copying gid files...."
+rm gid_*
+cp $DESTDIR/../../file-lists/orig/gid_* .
+
+echo "Creating package directories..."
+
+test -d pkg && rm -r pkg || :
+
+# Create package tree (needed by Debian's dpkg)
+# create_package_directory <list_file> <directory_name>
+create_package_directory()
+{
+listfile=$1
+directory="$2"
+perl -nl \
+ -e " if(/^%dir (.*)/)
+ {system('mkdir', '-p', '-m', '755', \"$directory\".\$1);}
+ else
+ {rename('./'.\$_, \"$directory\".\$_);}
+ " \
+ $listfile
+}
+
+# move_wrappers <directory_name> <name> [...]
+move_wrappers()
+{
+directory=$1
+shift
+mkdir -m755 -p "$directory"/usr/bin
+while test -n "$1"; do
+ mv usr/*bin/"$1$BINSUFFIX" "$directory"/usr/bin
+ shift
+done
+}
+
+create_package_directory gid_Module_Root_Ure_Hidden pkg/ure
+create_package_directory gid_Module_Root pkg/libreoffice-common
+create_package_directory gid_Module_Root_Brand pkg/libreoffice-common
+# FIXME: This is added to gid_Module_Root_Brand but doesn't get installed....
+mkdir -p pkg/libreoffice-common/usr/share/mimelnk/application
+mv ./usr/share/mimelnk/application/* \
+ pkg/libreoffice-common/usr/share/mimelnk/application
+# done by dh_installman
+#mkdir -p pkg/libreoffice-common/usr/share/man/man1
+#mv usr/share/man/man1/libreoffice$BINSUFFIX.1.gz \
+# pkg/libreoffice-common/usr/share/man/man1
+#for i in ./usr/share/man/man1/*; do \
+# if [ "$i" = "unopkg.1.gz" -o "$i" = "lofromtemplate.1.gz" \
+# -o "$i" = "loffice.1.gz" ]; then p=common; \
+# else p=`basename $i .1.gz | sed -e s/^lo//`; \
+# fi
+# mkdir -p pkg/libreoffice-$p/usr/share/man/man1
+# mv $i \
+# pkg/libreoffice-$p/usr/share/man/man1
+#done
+for i in ./usr/share/applications/*.desktop; do \
+ if [ "`basename $i`" = "libreoffice-startcenter.desktop" ]; then p=libreoffice-common; \
+ elif [ "`basename $i`" = "libreoffice-binfilter.desktop" ]; then p=libreoffice-filter-binfilter; else \
+ p=`basename $i .desktop`; fi
+ mkdir -p pkg/$p/usr/share/applications
+ mv $i \
+ pkg/$p/usr/share/applications
+done
+mkdir -p pkg/libreoffice-common/usr/share
+mv ./usr/share/icons \
+ pkg/libreoffice-common/usr/share
+mv ./usr/share/application-registry \
+ pkg/libreoffice-common/usr/share
+mv ./usr/share/mime* \
+ pkg/libreoffice-common/usr/share
+
+create_package_directory gid_Module_Root_Files_Images pkg/libreoffice-common
+create_package_directory gid_Module_Oo_Linguistic pkg/libreoffice-common
+create_package_directory gid_Module_Optional_Xsltfiltersamples pkg/libreoffice-common
+create_package_directory gid_Module_Optional_Javafilter pkg/libreoffice-common
+create_package_directory gid_Module_Optional_Binfilter pkg/libreoffice-filter-binfilter
+create_package_directory gid_Module_Optional_Grfflt pkg/libreoffice-draw
+create_package_directory gid_Module_Prg_Calc_Bin pkg/libreoffice-calc
+create_package_directory gid_Module_Prg_Math_Bin pkg/libreoffice-math
+create_package_directory gid_Module_Prg_Draw_Bin pkg/libreoffice-draw
+create_package_directory gid_Module_Prg_Wrt_Bin pkg/libreoffice-writer
+create_package_directory gid_Module_Prg_Impress_Bin pkg/libreoffice-impress
+create_package_directory gid_Module_Prg_Base_Bin pkg/libreoffice-base
+create_package_directory gid_Module_Brand_Prg_Calc pkg/libreoffice-calc
+create_package_directory gid_Module_Brand_Prg_Math pkg/libreoffice-math
+create_package_directory gid_Module_Brand_Prg_Draw pkg/libreoffice-draw
+create_package_directory gid_Module_Brand_Prg_Wrt pkg/libreoffice-writer
+create_package_directory gid_Module_Brand_Prg_Impress pkg/libreoffice-impress
+create_package_directory gid_Module_Brand_Prg_Base pkg/libreoffice-base
+create_package_directory gid_Module_Optional_Pyuno pkg/python-uno
+create_package_directory gid_Module_Optional_Extensions_Script_Provider_For_Python pkg/libreoffice-script-provider-python
+create_package_directory gid_Module_Optional_Gnome pkg/libreoffice-gnome
+create_package_directory gid_Module_Optional_Kde pkg/libreoffice-kde
+create_package_directory gid_Module_Root_Files_2 pkg/libreoffice-common
+create_package_directory gid_Module_Root_Files_3 pkg/libreoffice-common
+create_package_directory gid_Module_Root_Files_4 pkg/libreoffice-common
+create_package_directory gid_Module_Root_Files_5 pkg/libreoffice-common
+create_package_directory gid_Module_Root_Files_6 pkg/libreoffice-common
+create_package_directory gid_Module_Root_Files_7 pkg/libreoffice-common
+create_package_directory gid_Module_Optional_OGLTrans pkg/libreoffice-ogltrans
+create_package_directory gid_Module_Root_SDK pkg/libreoffice-dev
+create_package_directory gid_Module_Optional_Extensions_Script_Provider_For_Beanshell pkg/libreoffice-script-provider-bsh
+create_package_directory gid_Module_Optional_Extensions_Script_Provider_For_Javascript pkg/libreoffice-script-provider-js
+create_package_directory gid_Module_Optional_Extensions_MEDIAWIKI pkg/libreoffice-wiki-publisher
+create_package_directory gid_Module_Optional_Extensions_MINIMIZER pkg/libreoffice-presentation-minimizer
+create_package_directory gid_Module_Optional_Extensions_MySQLConnector pkg/libreoffice-mysql-connector
+create_package_directory gid_Module_Optional_Extensions_PDFIMPORT pkg/libreoffice-pdfimport
+create_package_directory gid_Module_Optional_Extensions_PRESENTER_SCREEN pkg/libreoffice-presenter-console
+create_package_directory gid_Module_Optional_Extensions_REPORTDESIGN pkg/libreoffice-report-builder
+create_package_directory gid_Module_Optional_PostgresqlSdbc pkg/libreoffice-sdbc-postgresql
+move_wrappers pkg/libreoffice-common soffice unopkg
+move_wrappers pkg/libreoffice-common libreoffice loffice lofromtemplate
+move_wrappers pkg/libreoffice-base lobase
+move_wrappers pkg/libreoffice-writer lowriter loweb
+move_wrappers pkg/libreoffice-calc localc
+move_wrappers pkg/libreoffice-impress loimpress
+move_wrappers pkg/libreoffice-math lomath
+move_wrappers pkg/libreoffice-draw lodraw
+
+for l in `echo $OOO_LANGS_LIST`; do
+ for p in Impress Draw Math Calc Base Writer; do
+ create_package_directory gid_Module_Langpack_${p}_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+ done
+ create_package_directory gid_Module_Langpack_Basis_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+ create_package_directory gid_Module_Langpack_Brand_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+ create_package_directory gid_Module_Langpack_Resource_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+ create_package_directory gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g` pkg/libreoffice-help-$l
+ if [ -f gid_Module_Optional_Binfilter ]; then
+ if [ "$l" = "en-US" ]; then
+ create_package_directory gid_Module_Langpack_Binfilter_en_US pkg/libreoffice-filter-binfilter
+ else
+ create_package_directory gid_Module_Langpack_Binfilter_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+ fi
+ fi
+ # some help files are in _Langpack_{Writer,Impress,...}_<lang>
+ # move them from -l10n to -help
+ if [ "$l" = "en-US" ]; then d=en; else d=$l; fi
+ mv pkg/libreoffice-l10n-$l/$OOINSTBASE/help/$d/* \
+ pkg/libreoffice-help-$l/$OOINSTBASE/help/$d && \
+ rmdir pkg/libreoffice-l10n-$l/$OOINSTBASE/help/$d
+done
+
+# Move all libraries and binaries from -common to -core
+if [ ! -d $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program ]; then \
+mkdir -p $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program; \
+fi &&
+( cd pkg/libreoffice-common/$OOINSTBASE/program
+ find -maxdepth 1 \
+ -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|nsplugin\|kdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\)' \
+ -exec mv {} $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program \;
+);
+
+mkdir -p pkg/libreoffice-common/etc/bash_completion.d
+mv etc/bash_completion.d/libreoffice$BINSUFFIX.sh \
+ pkg/libreoffice-common/etc/bash_completion.d
+
+mv .$OOINSTBASE/program/java-set-classpath \
+ pkg/libreoffice-common/$OOINSTBASE/program
+if echo $OOO_LANGS_LIST | grep -q en-US; then
+ for i in forms/resume.ott officorr/project-proposal.ott; do \
+ mkdir -p pkg/libreoffice-common/$OOINSTBASE/share/template/en-US/`dirname $i`; \
+ mv .$OOINSTBASE/share/template/en-US/$i \
+ pkg/libreoffice-common/$OOINSTBASE/share/template/en-US/$i; \
+ done; \
+fi
+
+# Warn for any remaining files
+find . -path './pkg' -prune -o -not -name 'gid_Module_*' -not -type d -exec echo "File not packaged: {}" \;
+
--- /dev/null
+#! /usr/bin/python
+
+import os
+import sys
+from translate.storage import oo
+
+debug = False
+
+def statistics(mf, helpfiles, comment, fn):
+ n_all = n_translated = n_untranslated = n_same = 0
+ for helpfile in helpfiles:
+ of = mf.getoofile(helpfile)
+ try:
+ elements = of.ooelements
+ except:
+ elements = of.units
+ for el in elements:
+ n_all += 1
+ if len(el.lines) == 1:
+ if debug:
+ print "WARNING: %s: no translation (%d lines)" % (helpfile, len(el.lines))
+ n_untranslated += 1
+ continue
+ if len(el.lines) > 2:
+ if debug:
+ print "WARNING: %s: too many translations (%d lines)" % (helpfile, len(el.lines))
+ print " ", el.lines[0].project, el.lines[0].sourcefile, el.lines[0].groupid,el.lines[0].localid
+ continue
+ if el.lines[0].text == el.lines[1].text \
+ and el.lines[0].helptext == el.lines[1].helptext \
+ and el.lines[0].quickhelptext == el.lines[1].quickhelptext:
+ n_same += 1
+ if debug:
+ print "Not translated: %s/%s/%s" % (el.lines[0].text, el.lines[0].helptext, el.lines[0].quickhelptext)
+ print " %s/%s/%s" % (el.lines[1].text, el.lines[1].helptext, el.lines[1].quickhelptext)
+ else:
+ n_translated += 1
+
+ try:
+ ratio = n_translated / float(n_all) * 100
+ except:
+ ratio = 0.0
+ print "%s: %15s: %4.1f%%, lines=%5d, translated=%5d, untranslated=%5d, same=%5d" \
+ % (comment, os.path.basename(fn), ratio, n_all, n_translated, n_untranslated, n_same)
+ sys.stdout.flush()
+
+if __name__ == '__main__':
+ for fn in sys.argv[1:]:
+ try:
+ mf = oo.oomultifile(fn)
+ except Exception, msg:
+ sys.stdout.write("ERROR reading %s: %s\n" % (fn, msg))
+ sys.stdout.flush()
+
+ helpfiles = [f for f in mf.listsubfiles() if not f.startswith('helpcontent2')]
+ statistics(mf, helpfiles, "msgs", fn)
+
+ helpfiles = [f for f in mf.listsubfiles() if f.startswith('helpcontent2')]
+ statistics(mf, helpfiles, "help", fn)
--- /dev/null
+#! /usr/bin/python
+
+import re, sys, fileinput
+
+def splitlines():
+ fields = ('Build-Depends', 'Build-Conflicts', 'Build-Depends-Indep', 'Depends', 'Replaces',
+ 'Provides', 'Conflicts', 'Recommends', 'Suggests')
+ for line in fileinput.input():
+ line = line[:-1]
+ field = None
+ for f in fields:
+ if line.startswith(f+':'):
+ field = f
+ break
+ if not field:
+ print line
+ continue
+ values = [f.strip() for f in line.split(':',1)[1].strip().split(',')]
+ if len(values) > 2:
+ print '%s: %s' % (field, ',\n '.join(values))
+ else:
+ print '%s: %s' % (field, ', '.join(values))
+
+
+def joinlines():
+ fields = ('Build-Depends', 'Build-Conflicts', 'Build-Depends-Indep', 'Depends', 'Replaces',
+ 'Provides', 'Conflicts', 'Recommends', 'Suggests')
+ buffer = None
+ for line in fileinput.input():
+ line = line[:-1]
+ if buffer:
+ if line.startswith(' '):
+ buffer = buffer + ' ' + line.strip()
+ continue
+ else:
+ print re.sub(r' *,', r',', buffer)
+ buffer = None
+ field = None
+ for f in fields:
+ if line.startswith(f+':'):
+ field = f
+ break
+ if field:
+ buffer = line.strip()
+ continue
+ print line
+
+def main():
+ #splitlines()
+ joinlines()
+
+main()
--- /dev/null
+#!/bin/sh
+
+# Copyright (C) 1996 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+if
+test -r $2
+then
+if
+cmp $1 $2 > /dev/null
+then
+echo $2 is unchanged
+rm -f $1
+else
+mv -f $1 $2
+fi
+else
+mv -f $1 $2
+fi
--- /dev/null
+validate_extensions() {
+ INSTDIR=`mktemp -d`
+ if HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then
+ HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg validate -v --bundled
+ fi
+}
+
+sync_extensions() {
+ INSTDIR=`mktemp -d`
+ export PYTHONPATH="/@OODIR@/program"
+ if [ -L /usr/lib/libreoffice/basis-link ]; then
+ d=/var/lib/libreoffice/`readlink /usr/lib/libreoffice/basis-link`/
+ else
+ d=/usr/lib/libreoffice
+ fi
+ if HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then
+ if [ -e /usr/lib/libreoffice/share/prereg/bundled ] && readlink /usr/lib/libreoffice/share/prereg/bundled 2>&1 >/dev/null && [ -L $d/ure-link ]; then
+ HOME=$INSTDIR \
+ /usr/lib/libreoffice/program/unopkg sync -v --bundled \
+ "-env:BUNDLED_EXTENSIONS_USER=file:///usr/lib/libreoffice/share/prereg/bundled" \
+ "-env:UserInstallation=file://$INSTDIR" \
+ "-env:UNO_JAVA_JFW_INSTALL_DATA=file://$d/share/config/javasettingsunopkginstall.xml" \
+ "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1"
+ fi
+ fi
+ rm -rf $INSTDIR
+}
+
--- /dev/null
+libicudata 40
+libicui18n 40
+libicule 40
+libicuuc 40
+libicutu 40
--- /dev/null
+libc 0.1 libc0.1 (>= 2.10.2-7)
--- /dev/null
+# configuration file to set up some environment variables for LibreOffice
+
+# File locking; possible values are:
+# - yes: enable file locking unconditionally
+# - no: disable file locking
+# - auto: enable file locking, when the document is found on a nfs share
+# If the environment variable SAL_ENABLE_FILE_LOCKING is set,
+# the setting if ENABLE_FILE_LOCKING has no effect.
+
+FILE_LOCKING=auto
+
+# OpenGL support; may cause trouble with the restricted nvidia and fglrx
+# drivers; possible values are:
+# - yes: enable OpenGL support unconditionally
+# - no: disable OpenGL support.
+# - auto: only enable OpenGL support, if not running with the restricted
+# nvidia and fglrx drivers.
+# If the environment variable SAL_NOOPENGL is set,
+# the setting if OPENGL_SUPPORT has no effect.
+
+OPENGL_SUPPORT=no
--- /dev/null
+# transitional packages.
+libreoffice source: debhelper-but-no-misc-depends libreoffice-l10n-gu-in
+libreoffice source: debhelper-but-no-misc-depends libreoffice-l10n-ta-in
+libreoffice source: debhelper-but-no-misc-depends libreoffice-l10n-or-in
+libreoffice source: debhelper-but-no-misc-depends libreoffice-l10n-mr-in
+libreoffice source: debhelper-but-no-misc-depends libreoffice-l10n-te-in
+libreoffice source: debhelper-but-no-misc-depends libreoffice-l10n-ml-in
+libreoffice source: debhelper-but-no-misc-depends libreoffice-l10n-as-in
+libreoffice source: debhelper-but-no-misc-depends ttf-opensymbol
--- /dev/null
+3.0 (quilt)
--- /dev/null
+debian/templates/debian-presentation.otp
+debian/templates/debian-presentation-background.xcf
+sc/qa/unit/data/ods/passwordOld.ods
--- /dev/null
+[Desktop Entry]
+Name=LibreOffice @APP@ ...
+Comment=Enter LibreOffice @APP@ filename:
+Comment[de]=Name der LibreOffice @APP@-Datei eingeben:
+Type=Link
+URL=.source/soffice.@EXT@
+Icon=libreoffice-oasis-@TYPE@
+
--- /dev/null
+Document: udk-common-ref
+Title: UDK @UDK_MAJOR@.@UDK_MINOR@.@UDK_MICRO@ IDL Reference
+Author: Oracle
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libreoffice-dev/docs/common/ref/module-ix.html
--- /dev/null
+Document: udk-cpp-ref
+Title: UDK @UDK_MAJOR@.@UDK_MINOR@.@UDK_MICRO@ C/C++ API Reference
+Author: Oracle
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libreoffice-dev/docs/cpp/ref/index.html
--- /dev/null
+Document: udk-java-ref
+Title: UDK @UDK_MAJOR@.@UDK_MINOR@.@UDK_MICRO@ Java API Reference
+Author: Oracle
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libreoffice-dev/docs/java/ref/index.html
--- /dev/null
+uno-libs3: shlibs-declares-dependency-on-other-package uno-libs3 (*), ure
+uno-libs3: symbols-declares-dependency-on-other-package ure
--- /dev/null
+libuno_cppu.so.3 uno-libs3 #MINVER#, ure
+ *@UDK_3_0_0 1.4.0
+ *@UDK_3.1 1.4.0
+ *@UDK_3.2 1.4.0
+ *@UDK_3.3 1.4.0
+libuno_cppuhelpergcc3.so.3 uno-libs3 #MINVER#, ure
+ *@UDK_3_0_0 1.4.0
+ *@UDK_3.1 1.4.0
+ *@UDK_3.2 1.4.0
+ *@UDK_3.3 1.4.0
+ *@UDK_3.4 1.4.0
+ *@UDK_3.5 1.4.0
+ *@UDK_3.6 1.7.0
+ *@UDK_3.7 3.4.0
+ *@UDK_3.8 3.5.0~beta
+libuno_sal.so.3 uno-libs3 #MINVER#, ure
+ *@UDK_3_0_0 1.4.0
+ *@UDK_3.1 1.4.0
+ *@UDK_3.2 1.4.0
+ *@UDK_3.3 1.4.0
+ *@UDK_3.4 1.4.0
+ *@UDK_3.5 1.4.0
+ *@UDK_3.6 1.4.0
+ *@UDK_3.7 1.4.0
+ *@UDK_3.8 1.4.0
+ *@UDK_3.9 1.5.0
+ *@UDK_3.10 1.6.0
+ UDK_3.11@UDK_3.11 1.7.0+LibO3.3.0~beta3
+ osl_clearEnvironment@UDK_3.11 1.7.0+LibO3.3.0~beta3
+ osl_setEnvironment@UDK_3.11 1.7.0+LibO3.3.0~beta3
+ *@UDK_3.11 1.8.0
+ *@LIBO_UDK_3.5 3.5.0~beta
+libuno_salhelpergcc3.so.3 uno-libs3 #MINVER#, ure
+ *@UDK_3_0_0 1.4.0
+ *@UDK_3.1 1.4.0
+libuno_purpenvhelpergcc3.so.3 uno-libs3 #MINVER#, ure
+ *@UDK_3_0_0 1.4.0
--- /dev/null
+ure: binary-or-shlib-defines-rpath
+ure: no-debconf-config
+ure: classpath-contains-relative-path usr/share/java/jurt.jar: ridl.jar unoloader.jar ../../lib/ /usr/lib/ure/lib/ ../bin/
+ure: classpath-contains-relative-path usr/share/java/juh.jar: ridl.jar jurt.jar ../../lib/ ../bin/
+ure: classpath-contains-relative-path usr/share/java/java_uno.jar: jurt.jar ridl.jar ../../lib/ ../bin/
--- /dev/null
+PLATFORMID=linux_alpha
--- /dev/null
+PLATFORMID=linux_x86_64
--- /dev/null
+PLATFORMID=linux_arm_oabi
--- /dev/null
+PLATFORMID=linux_arm_eabi
--- /dev/null
+PLATFORMID=linux_arm_eabi
--- /dev/null
+PLATFORMID=linux_hppa
--- /dev/null
+PLATFORMID=linux_x86
--- /dev/null
+PLATFORMID=linux_ia64
--- /dev/null
+PLATFORMID=kfreebsd_x86_64
--- /dev/null
+PLATFORMID=kfreebsd_x86
--- /dev/null
+PLATFORMID=linux_m68k
--- /dev/null
+PLATFORMID=linux_mips_eb
--- /dev/null
+PLATFORMID=linux_mips_el
--- /dev/null
+PLATFORMID=linux_powerpc
--- /dev/null
+PLATFORMID=linux_powerpc
--- /dev/null
+PLATFORMID=linux_powerpc64
--- /dev/null
+PLATFORMID=linux_s390
--- /dev/null
+PLATFORMID=linux_s390x
--- /dev/null
+PLATFORMID=solaris_x86
--- /dev/null
+PLATFORMID=linux_sparc
--- /dev/null
+version=3
+opts=dversionmangle=s/\.dfsg\.\d+$// http://download.documentfoundation.org/libreoffice/src/(\d.\d.\d)/libreoffice-core-(\d.\d.\d).\d.tar.xz
+#opts=dversionmangle=s/\.dfsg\.\d+$// http://dev-builds.libreoffice.org/pre-releases/src/libreoffice-core-(\d.\d.\d).\d.tar.xz
--- /dev/null
+Document: xmerge-javadoc
+Title: LibreOffice XMerge API Javadoc
+Author: Oracle
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libreoffice-dev/docs/xmerge/index.html